The Stack Window
Overview
The Stack Window allows users to view the call stack and jump between
levels of the stack. To use the Stack Window in tracepoint mode, the
stack pointer must be collected. See
Adding an Action in the Tracepoint
Dialog for more information on collecting registers.
Stack Window topics:
The Stack Display consists of a listbox which displays levels of the call stack
one per line. Each line contains the level number (useful when using the Console Window) and a description of the function executing
in that level. Typically, the function name and either the address of the function
or the file and line number where the function is defined are displayed. The
Stack Window may also be used to jump between levels of the stack.
Navigation of the Stack Window is accomplished by clicking on the desired level
with the left mouse button. The Source Window
Display updates to show the selected frame. All other secondary windows,
Registers, Watch, and
Locals update their displays for the selected frame.
To switch frames, simply click the left mouse button on the desired frame and the
debugger will switch contexts, updating all windows. The selected frame is highlighted
(in gold, by default).
As an alternative, changing stack levels may be accomplished via the
Frame Control Buttons on the Source Window's
Toolbar. These buttons may be used to change frames one level at a time (either
immediately up or immediately down) or to jump to the bottom-most stack frame.
See Source Frame Control Buttons for more
information.