Debug Shortcut Keys, Visual Basic 6.0 Default Shortcut Option
The following shortcut key combinations can be used while debugging code.
ALT + F10
Applies the changes made to code without stopping the debugger.
CTRL + ALT + V, A
Displays the Auto window to view the values of variables currently in the scope of the current line of execution within the current procedure.
CTRL + BREAK
Temporarily stops execution of all processes in a debugging session. Available only in Run mode.
CTRL + ALT + B
Displays the Breakpoints dialog box where you can add and modify breakpoints.
CTRL + L
Displays the Call Stack window to display a list of all active procedures or stack frames for the current thread of execution. Available only in Run mode.
CTRL + SHIFT + F9
Clears all of the breakpoints in the project.
CTRL + ALT + D
Displays the Disassembly dialog box.
CTRL + ALT + E
Displays the Exceptions dialog box.
CTRL + G
Displays the Immediate window where you can evaluate expressions and execute individual commands.
CTRL + ALT + V, L
Displays the Locals window to view the variables and their values for each procedure in the current stack frame.
CTRL + ALT + M, 1
Displays the Memory 1 window, which allows you to view large buffers, strings, and other data that do not display well in the Watch or Variables window.
CTRL + ALT + M, 2
Displays the Memory 2 window, which allows you to view large buffers, strings, and other data that do not display well in the Watch or Variables window.
CTRL + ALT + M, 3
Displays the Memory 3 window, which allows you to view large buffers, strings, and other data that do not display well in the Watch or Variables window.
CTRL + ALT + M, 4
Displays the Memory 4 window, which allows you to view large buffers, strings, and other data that do not display well in the Watch or Variables window.
CTRL + ALT + U
Displays the Modules window which allows you to view the .dll or .exe files used by the program.
CTRL + B
Inserts or clears a breakpoint in the current line of code.
SHIFT + F9
Displays the Quick Watch dialog box with the current value of the selected expression. Available only in Break mode. Use this command to check the current value of a variable, property, or other expression for which you have not defined a watch expression.
CTRL +ALT + G
Displays the Registers window, which displays content for debugging native code applications.
SHIFT + F5
Terminates a debugging session, rebuilds, and then starts running the application from the beginning. Available in Break and Run modes.
CTRL + ALT + N
Displays the Running Documents window that shows the set of documents that you are in the process of debugging. Available in Run mode.
CTRL + F8
In Break mode, resumes execution of your code from the current statement to the selected statement. The Current Line of Execution margin indicator appears in the Margin Indicator bar. In Design mode, starts the debugger and executes your code to the cursor location.
CTRL + F9
Sets the execution point to the line of code you choose.
ALT + NUM*
Highlights the next statement to be executed.
Automatically attaches the debugger and runs the application from the startup form specified in the <Project> Properties dialog box. Changes to Continue if in Break mode.
CTRL + F5
Runs the code without invoking the debugger.
Executes code one statement at a time, following execution into function calls.
CTRL + SHIFT + F8
Executes the remaining lines of a function in which the current execution point lies.
SHIFT + F8
Executes the next line of code, but does not follow execution through any function calls.
CTRL + ALT + V, T
Displays the This window, which allows you to view the data members of the object associated with the current method.
CTRL + ALT + H
Displays the Threads window to view all of the threads for the current process and information about them.
Sets or removes a breakpoint at the current line.
CTRL + F11
Displays the disassembly information for the current source file. Available only in Break mode.
CTRL + ALT + P
Displays the Processes dialog box, which allows you to debug multiple programs at the same time in a single solution.