This documentation is archived and is not being maintained.

Debug Toolbar

Office 2007

Debug toolbar

Contains buttons that are shortcuts to some commonly used menu items frequently used in debugging code.

You can click a toolbar button once to carry out the action represented by that button. You can select the Show ToolTips option in the General tab of the Options dialog box if you want to display ToolTips for the toolbar buttons.

Toolbar Buttons

Toolbar button   Design Mode

Turns design mode off and on.

Toolbar button   Run Sub/UserForm or Run Macro

Runs the current procedure if the cursor is in a procedure, runs the UserForm if a UserForm is currently active, or runs a macro if neither the Code window nor a UserForm is active.

Toolbar button   Break

Stops execution of a program while it is running and switches to break mode.

Toolbar button   Reset

Clears the execution stack and module level variables and resets the project.

Toolbar button   Toggle Breakpoint

Sets or removes a breakpoint at the current line.

Toolbar button   Step Into

Executes code one statement at a time.

Toolbar button   Step Over

Executes code one procedure or statement at a time in the Code window.

Toolbar button   Step Out

Executes the remaining lines of a procedure in which the current execution point lies.

Toolbar button   Locals Window

Displays the Locals window.

Toolbar button   Immediate Window

Displays the Immediate window.

Toolbar button   Watch Window

Displays the Watch window.

Toolbar button   Quick Watch

Displays the Quick Watch dialog box with the current value of the selected expression.

Toolbar button   Call Stack

Displays the Calls dialog box, which lists the currently active procedure calls (procedures in the application that have started but are not completed).