The most common debugger commands are available on the toolbar. The
toolbar is located in the main WDB GUI window below the menu bar.
Command |
Icon |
Shortcut |
Action |
Load Program |
|
Ctrl+F5 |
Opens the Load
Program dialog box where you can load an executable and specify
program settings.
|
Open File
|
|
Ctrl+O |
Opens the
Open File dialog box where you can select a source file to
open in the Source view.
|
Save |
 |
Ctrl+S |
Saves the file currently displayed in an edit tab.
|
Find ... |
 |
Alt+F3 |
Opens the
Find dialog box, where you can search for specific text or a
regular expression.
|
Go |
 |
F5 |
Starts or continues
program execution at the current program counter location.
|
Restart |
 |
Ctrl+Shift+F5 |
Restarts debugging at the
program's entry point. Clears and initializes the Watch,
Local Variables, and Call Stack views.
|
Stop Debugging |
 |
Shift+F5 |
Stops program execution
and enables loading of a new executable. Clears and initializes all
views except the Source view.
|
Break Execution |
 |
none |
Pauses the program at its
current location.
|
Insert/Remove Breakpoint |
 |
F9 |
Allows you to insert or
remove a breakpoint at the current cursor location.
|
Show Next Statement |
 |
Alt+* |
Restores the context to
the location of the program counter and updates all applicable
views.
|
Step Into |
 |
F1 |
Provides a single step
execution of the current function or instruction.
|
Step Over |
 |
F10 |
Steps over the next
statement. Executes function calls without stepping into them.
|
Step Out |
 |
Shift+F11 |
Executes the program
through completion of the current function or instruction. Then
pauses at the statement immediately following the function call.
|
Step Last |
 |
F8 |
Steps into the function call without stepping
into the argument evaluation function calls.
|
Run to Cursor |
 |
Ctrl+F10 |
Executes the program
until reaching the current cursor location.
|
Quick Watch |
 |
Shift+F9 |
Opens or closes the Quick
Watch dialog box. When the dialog box opens, you can view the
value of a variable that you have selected in the active view.
|
Watch |
 |
none |
Opens or closes the Watch
view in a separate window.
|
Local Variables |
 |
none |
Opens or closes the Local
Variables view in a separate window.
|
Call Stack |
 |
none |
Opens or closes the Call
Stack view in a separate window.
|
Registers |
 |
none |
Opens or closes the Registers
view in a separate window.
|
Threads |
 |
none |
Opens or closes the Threads
view in a separate window.
|
Disassembly |
 |
none |
Opens or closes the Disassembly
view in a separate window.
|