Stack Trace (Description)
◄Summary► ◄Example► ◄Notes► ◄Up► ◄Contents► ◄Index► ◄Back►
────────────────────────────────────────────────────────────────────────────
The Stack Trace (K) command displays functions that have been
called during program execution. It also displays the source lines
where each function was called. The first line of the display
shows the name of the current function; each succeeding line lists
the function that called the function on the line above it.
In the protected-mode version of CodeView (CVP.EXE), the Stack
Trace command shows the functions called by the current thread.
See: ◄Debugging in Protected Mode►
For each function, the command shows argument values in
parentheses after the function name. It uses the current radix
for arguments (the default is decimal).
See: ◄Radix (N) Command-Window Command►
Output from the Stack Trace command-window command gives you
the following information:
■ Functions listed in the reverse order in which they were
called
■ Arguments to each function in parentheses
■ Line number from which the function was called
You can enter the line number as an argument to the View (V)
or Unassemble (U) command if you want to view code at the
point where the function was called.
See: ◄View (V) Command-Window Command►
◄Unassemble (U) Command-Window Command►
-♦-