??” Edit Watch Ctrl+W Displays the Edit Watch dialog box,
in which you can edit or delete a
watch expression.
Quick Watch Shift+F9 Displays the Quick Watch dialog box
with the current value of the selected
expression.
Toggle Breakpoint Shift+F9 Inserts or removes a breakpoint at
the current line.
??” Clear All Breakpoints Ctrl+Shift+F9 Removes all breakpoints in a project.
??” Set Next Statement Ctrl+F9 Sets the execution point to the line of
code you choose. You can set a
different line of code to execute after
the currently selected statement by
selecting the line of code you want to
execute and choosing the Set Next
Statement command, or by dragging
the Current Execution Line indicator
to the line of code you want to
execute.
??” Show Next Statement ??” Highlights the next statement to be
executed.
There are a few additional commands available to us on the Debug toolbar. Some are common
commands from the Debug menu and others are commonly used items from the View menu.
They are described in Table 7-2.
Table 7-2. Description of the Debug Toolbar Commands
Debug Toolbar Button Command Shortcut Key Description
Design Mode ??” Turns design mode for a UserForm off or on.
Continue F5 Runs the current procedure if the cursor is in a
procedure. Runs a UserForm if the UserForm is
active. Opens the Macro dialog box if neither
the code window nor a UserForm is active.
Break Ctrl+Break Stops execution of a procedure and switches to
break mode.
Reset ??” Stops execution of a procedure, clears modulelevel
variables, and resets the project.
Pages:
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241