Documentation Center

Debug menu

The Debug menu provides the options for debugging macros and modules.

Step Into

or F8 executes the current line. If the current line is a subroutine or function call, the macro stops on the first line of that subroutine or function. (If the macro is not active, start it.)

Step Over

or SHIFT+F8 executes to the next line. If the current line is a subroutine or function call, the macro executes that subroutine or function completely.

Step Out

or CTRL+F8 steps out of the current subroutine or function call.

Step to Cursor

F7 executes until the line the cursor is on is the current line. (If the macro is not active, start it.)

Toggle Break

or F9 toggles the break point on the current line.

Clear All Breaks

SHIFT+CTRL+F9 clears all break points.

Quick Watch

or SHIFT+F9 shows the value of the expression under the cursor in the Immediate window.

Add Watch

CTRL+F9 adds the expression under the cursor in the watch window.

Browse

shows the methods of the expression under the cursor. (see Object Browser)

Set Next

Sets the next statement to be executed. Only statements in the current subroutine/function can be selected.

Show Next

Shows the next statement to be executed.