Contents
Keyword
Index
Using
the WDB GUI
Reference
Information
Troubleshooting
Using
Help |
|
|
The Call Stack view lists the function calls leading to the
current program statement. The stack frame for each function call
displays the function's name and its associated parameter names and
values. You can traverse the stack by double-clicking on the stack
frame you want to view.
When you select a stack frame, the appropriate source code is
displayed in the Source and Disassembly views with a
green stack marker indicating the current context. In the Watch
view, the expressions are re-evaluated based on the newly selected
context. In the Local Variables view, the local arguments and
variables associated with the selected stack frame are displayed. In
Quick Watch, you can recalculate the value of a variable
expression based on the newly selected context.
You can access the Call Stack view from the main WDB GUI
window by clicking the Call Stack tab in the lower tabbed
area.
Area |
Description |
Annotation area
(Left column) |
Contains the following symbols:
 |
A yellow marker pointing to the frame that
corresponds to the current location of the program counter.
|
 |
A green stack marker that shows you which frame is
selected. The same marker appears in the Source and Disassembly
views, indicating the current context. |
|
Text area
(Right column) |
Displays the following information for
each function call:
- frame number
- function name
- parameter names and values (can be toggled on/off)
- source location
The currently executing function is at the top of the list and
the calling functions are below.
|
In the Call Stack view, click the right mouse button to
display a pop-up menu that contains the following commands:
Command |
Action |
Go To Code |
Changes the context of the program to
the selected stack frame but does not change the program counter.
Updates all of the WDB GUI views based on the new context, except
the Registers view.
|
Parameters Values |
Turns parameter names and values on
and off.
|
Open Separate Window |
Displays the Call Stack view
in a separate window, allowing you to see more than one GUI view at
the same time.
|
Return to Main Window |
Closes the separate window and enables
the Call Stack tab. Available when the Call Stack
view is displayed in a separate window. |
- To open or close the Call Stack view in a separate
window:
- Click the right mouse button to display a pop-up menu that
contains commands to open and close a separate window.
- Click the
toolbar button to open and close the Call Stack view in
a separate window.
- On the View menu, click Call Stack to quickly
bring the Call Stack view to the top.

Return
to Top |