HP WDB GUI 5.7 Reference Manual (September 2007)

Debugging with WDB GUI
Viewing Code
Chapter 3 59
See a stack marker that indicates the current context, determined by the stack frame
selected in the Call Stack view.
Access the pop-up menu to perform actions that will affect how the code executes.
Use dwell to quickly view the value of a variable or expression.
To view your source code in the source view
1. In the main window, click the Source tab.
2. View the file’s source path by looking below the Source tab label.
3. View the source code content in the right column of the Source view.
4. View the location of the program counter, breakpoints, and the stack marker in the left
column of the Source view.
NOTE You cannot display the Source view in a separate window.
To use the pop-up menu in the Source View
In the Source view, click the right mouse button to display a pop-up menu that contains the
following commands:
Show Next Statement
Quick Watch
Insert/Remove Breakpoint
Enable/Disable Breakpoint
Edit Breakpoint
Run to Cursor
Set Next Statement
Edit File
Open File in $EDITOR
Viewing assembly code
Before you can use the Disassembly view, your executable must be running. You can use the
Disassembly view to: