HP WDB GUI Reference Manual (August 2006)

Debugging with WDB GUI
Viewing Code
Chapter 354
See the current file’s source path.
See the source file contents.
See the current location of the program counter. The program counter is set to the point in
your program where the debugger will begin executing.
See the location and status of breakpoints.
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