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. If you want to display ToolTips for the toolbar buttons, you can select the Show ToolTips option on the General tab of the Options dialog box.
Button | Icon | Description |
---|---|---|
Design Mode | Turns design mode off and on. | |
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. | |
Break | Stops execution of a program while it is running and switches to break mode. | |
Reset | Clears the execution stack and module level variables and resets the project. | |
Toggle Breakpoint | Sets or removes a breakpoint at the current line. | |
Step Into | Executes code one statement at a time. | |
Step Over | Executes code one procedure or statement at a time in the Code window. | |
Step Out | Executes the remaining lines of a procedure in which the current execution point lies. | |
Locals Window | Displays the Locals window. | |
Immediate Window | Displays the Immediate window. | |
Watch Window | Displays the Watch window. | |
Quick Watch | Displays the Quick Watch dialog box with the current value of the selected expression. | |
Call Stack | Displays the Call Stack dialog box, which lists the currently active procedure calls (procedures in the application that have started but are not completed). |