The debugger interface provides special menus, windows, and a dialog box.

Debugger Menus

The following debugging commands are in the Edit, View, and Debug menus.

Menu Description

Edit

From this menu, you can access the Breakpoints dialog box. It displays a list of the breakpoints that you have set for the object that you are debugging. You can enable, disable, and remove breakpoints in the list.

View

This menu contains commands that display the various debugger windows, such as the Variables window and the Call Stack window. It also contains a command for adjusting the size of the text shown in the interface, and a command to show/hide the standard and debug toolbars.

Debug

This menu contains the following commands which start and control the debugging process:

  • Go executes code from the current statement until a breakpoint or the end of the code is reached, or until the application pauses for user input.

  • Step Into executes statements one at a time so you can decide how to continue after each statement. The execution will step into any function that is called, which means that the debugger will step through each of the statements in the function.

  • Step Over executes statements one at a time, Step Into. However, if you use this command when you reach a function call, the function is executed without the debugger stepping through the function instructions. If you use this command when the Breakpoint on Triggers setting is enabled, the debugger will still suspend code execution at every trigger. If there is a breakpoint in one of the functions that you step over, the debugger will break at that breakpoint.

  • Show Next Statement shows the next statement in your code.

The Debug menu also contains commands for setting, enabling, disabling, and removing breakpoints. The Breakpoint on Triggers option is set independently of other breakpoints, so the Remove All Breakpoints command does not affect it.

See Also