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 frame number, function's name, associated parameter names
and values, and source code location.
You can view the call stack when your program's execution is paused.
To select a stack frame
- In the main window, click the Call Stack tab.
- Double-click the stack frame you want to view. This changes the
context of the program but does not change the program counter. All
of the WDB GUI views are updated based on the new context, except
the Registers view. The appropriate source code is displayed
in the Source and Disassembly views with a green
stack marker indicating the current context.
See Tips for an alternate way to select a
stack frame.
To see the Call Stack view in a separate window
- Click the right mouse button, then click Open Separate View.
The separate window behaves the same as the tabbed Call Stack
view.
- To close the separate window, click the right mouse button, then
click Close.
See Tips for a shortcut to opening a separate
window.
You can choose whether or not to display parameter names and values
in the Call Stack view.
To turn parameter names and values on or off
- In the Call Stack view, right-click and select Parameters
Values from the pop-up menu.
- To use the pop-up menu to view the source code associated with a
stack frame, right-click on a frame and select Go To Code.
- 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 |