HP WDB GUI 5.7 Reference Manual (September 2007)
Debugging with WDB GUI
Viewing Code
Chapter 360
• See the assembly code associated with the currently executing function.
• See the instruction that corresponds to 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.
• Perform debug actions, such as stepping through a program and setting breakpoints.
• Use dwell to quickly view the value of a variable, register, or expression.
To view code in the Disassembly View
1. In the main window, click the Disassembly tab.
2. View the assembly code content in the right column of the Disassembly view.
3. View the location of the program counter, breakpoints, and the stack marker in the left
column of the Disassembly view.
To see the Disassembly View in a separate window
• Click the right mouse button, then click Open Separate View. The separate window
behaves the same as the tabbed Disassembly view.
• To close the separate window, click the right mouse button, then click Close.
To use the pop-up menu in the Disassembly View
In the Disassembly 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