Contents
Keyword Index
Using the WDB GUI
Reference Information
Troubleshooting
Using Help |
|
|
Overview
The Disassembly view lets you see the assembly code associated with the current function you are debugging. To access this view, click the Disassembly tab in the upper tabbed area of the main WDB GUI window.
Disassembly View Description
Area |
Description |
Annotation area |
Allows you to see symbols related to the debugging process. (See the following table for symbol descriptions.) Located in the left column of the Disassembly view.
|
Text area |
Allows you to see the assembly code that corresponds to the current function you are debugging. Located in the right column of the Disassembly view. |
Annotation Area Symbols
Symbol |
Description |
 |
The program counter that shows where the debugger will begin executing.
|
 |
A stack marker that indicates the current context, determined by the frame selected in the Call Stack view. |
 |
An enabled breakpoint.
|
 |
A disabled breakpoint.
|
Pop-up Menu
In the Disassembly view, click the right mouse button to display a pop-up menu that contains the following commands:
Command |
Action |
Show Next Statement |
Restores the context to the location of the program counter and updates all applicable views.
|
Quick Watch |
Displays the Quick Watch dialog box where you can see the value of a highlighted variable.
Quick Watch provides more detailed information than the dwell feature.
|
Insert/Remove Breakpoint |
Inserts or removes a breakpoint on the current line.
This command becomes Remove Breakpoint when an enabled breakpoint is set on the current line.
|
Enable/Disable Breakpoint |
Enables or disables a breakpoint that has already been set on the current line. This command is inactive when no breakpoint is set on the current line.
This command becomes Enable Breakpoint when a disabled breakpoint is set on the current line.
This command becomes Disable Breakpoint when an enabled breakpoint is set on the current line.
|
Edit Breakpoints... |
Displays the Breakpoint dialog box for the breakpoint on the current line. Inactive if there is no breakpoint on the current line.
|
Run to Cursor |
Executes the program until reaching the current cursor location.
|
Set Next Statement |
Moves the program counter to the current cursor location.
|
Open Separate Window |
Displays the Disassembly 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 Disassembly tab. Available when the Disassembly view is displayed in a separate window. |
Dwell Feature
The dwell feature allows you to quickly view the value of a variable, register, or expression. To use dwell, place the mouse pointer over a variable, register, or expression and wait about a half-second. A window pops up, displaying its value. For more information on dwell, see Viewing Variables with Dwell in the Viewing Your Code topic.
Tips
- To open or close the Disassembly 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 Disassembly view in a separate window.
- On the View menu, click Disassembly to quickly bring the Disassembly view to the top.
See Also

Return to Top
|