Debug Toolbar

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

dbbrvbe_ZA01201596

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.

tbr_dsgm_ZA01201699 Design Mode

Turns design mode off and on.

tbr_strt_ZA01201751 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.

tbr_brk_ZA01201682 Break

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

tbr_end_ZA01201701 Reset

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

tbr_bkpt_ZA01201681 Toggle Breakpoint

Sets or removes a breakpoint at the current line.

tbr_stpi_ZA01201749 Step Into

Executes code one statement at a time.

tbr_stpo_ZA01201750 Step Over

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

tbr_stot_ZA01201748 Step Out

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

tbr_lowd_ZA01201713 Locals Window

Displays the Locals window.

tbr_imwd_ZA01201710 Immediate Window

Displays the Immediate window.

tbr_wawd_ZA01201768 Watch Window

Displays the Watch window.

tbr_qwat_ZA01201733 Quick Watch

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

tbr_call_ZA01201683 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).

Show: