This section provides a summary of the toolbar and menu bar in the debugger interface. You can use the toolbar to start and stop application execution as well as to open the Quick Watch dialog box and the Watch and CallStack windows. The following screen shot shows the debugger toolbar.
The following table shows each toolbar button and briefly describes its purpose.
Command |
Button |
Description |
Shortcut key |
Go | Starts the debugger. | Press f5 | |
Toggle Breakpoint | Toggles a breakpoint on or off on the line of code where the cursor is located. | Press f9 | |
Step Into | Executes the current statement and breaks at the next line, even if it is in another procedure. | Press f8 | |
Step Over | Executes the entire procedure called by the current line and breaks at the line following the current line. | Press f10 | |
Step Out | Executes the remainder of the current procedure and break at the statement following the statement that called the procedure. | Press alt + f7 | |
Run to Cursor | Selects a statement farther down in your code where you want execution to stop. | Press f7 | |
Quick Watch | Opens the Quick Watch dialog box. | Press SHIFT + F9 | |
Watch Window | Opens the Watch window. | Press CTRL + W | |
CallStack Window | Opens the CallStack window. | Press ctrl + s | |
About the Toolkit | Opens the About the Debugger dialog box. |
In addition to the commands on the toolbar, the menu bar provides several additional commands to manage breakpoints, find text within your code, and save the current debugger configuration.
The following table shows all debugger menu bar commands.
Top-level menu |
Command |
Description |
File | Clear all breakpoints | Clears all the breakpoints in the debugger |
View | Toolbar | Toggles display of the toolbar |
Status Bar | Toggles display of the status bar | |
Find | Opens a Find dialog box to search for text in code | |
Find Next | Repeats the last Find operation | |
Enable Data Tips | Toggles tooltips for variables | |
Window | Cascade | Arranges the debugger windows in a cascading pattern |
Tile | Tiles the debugger windows | |
Arrange Icons | Arranges minimized debugger windows | |
Save State on Exit | Saves information about your current session when you exit the debugger |