Table of contents
Collapse the table of content
Expand the table of content

Debug Toolbar

office 365 dev account|Last Updated: 6/12/2017
1 Contributor

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

Design modeDesign Mode

Turns design mode off and on.

Run sub userformRun 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.


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


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

Toggle breakpointToggle Breakpoint

Sets or removes a breakpoint at the current line.

Step intoStep Into

Executes code one statement at a time.

Step overStep Over

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

Step outStep Out

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

Locals windowLocals Window

Displays the Locals window.

Immediate windowImmediate Window

Displays the Immediate window.

Watch windowWatch Window

Displays the Watch window.

Quick watchQuick Watch

Displays the QuickWatch dialog box with the current value of the selected expression.

Call stackCall Stack

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

© 2018 Microsoft