Debug Shortcut Keys, Visual C++ 6.0 Default Shortcut Option
Use the following shortcut key combinations while debugging your code.
The appearance of features in the IDE can depend on your active settings or edition, and might differ from those described in Help. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.
ALT + F10
Apply changes made to code without stopping debug mode. See Edit and Continue for more information.
CTRL + ALT + V, A
Displays the Autos window to view the values of variables currently in the scope of the current line of execution within the current procedure. See Breaking Execution for more information.
CTRL + ALT + BREAK
Temporarily stops execution of all processes in a debugging session. Available only in run mode.
ALT + F9 CTRL + ALT + B
Displays the New Breakpoint dialog box, where you can add and modify breakpoints. See Breakpoints Overview for more information.
ALT + 7 CTRL + ALT + C
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. See How to: Use the Call Stack Window for more information.
CTRL + SHIFT + F9
Clears all the breakpoints in the project.
ALT + 8
Displays the Disassembly window. See How to: Use the Disassembly Window for more information.
CTRL + F9
Enables breakpoint at the current line.
CTRL + ALT + E
Displays the Exceptions dialog box. See Continuing Execution After an Exception for more information.
CTRL + ALT + I
Displays the Immediate window, where you can evaluate expressions and execute individual commands.
ALT + 4 CTRL + ALT + V, L
Displays the Locals window to view the variables and their values for each procedure in the current stack frame.
ALT + 6 CTRL + ALT + M, 1
Displays the Memory 1 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
CTRL + ALT + M, 2
Displays the Memory 2 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
CTRL + ALT + M, 3
Displays the Memory 3 window to view large buffers, strings, and other data that do not display clearly in the Watch or Variables window.
CTRL + ALT + M, 4
Displays the Memory 4 window to view large buffers, strings, and other data that do not display clearly 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. See How to: Use the Modules Window for more information.
CTRL + B
Inserts or clears a breakpoint in the current line of code.
CTRL + ALT + Q SHIFT + F9
Displays the QuickWatch 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.
ALT + 5 CTRL + ALT + G
Displays the Registers window, which displays registers content for debugging native-code applications. See How to: Use the Registers Window for more information.
CTRL + SHIFT + F5
Terminates a debugging session, rebuilds, and then starts running the application from the beginning again. Available in break and run modes.
CTRL + ALT + N
Displays the Running Documents window, which displays the set of documents that are in the process you are debugging. Available in run mode.
CTRL + F10
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. See Run to the Cursor Location for more information.
CTRL + SHIFT + F10
Sets the execution point to the line of code you choose. See Setting the Execution Point for more information.
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. See Stepping Into for more information.
SHIFT + F11
Executes the remaining lines of a function in which the current execution point lies. See Stepping for more information.
Executes the next line of code but does not follow execution through any function calls.
SHIFT + F5
Stops running the current application in the program. Available in break and run modes.
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. See How to: Use the Threads Window for more information.
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 window, which allows you to debug multiple programs at the same time in a single solution. See How to: Use the Processes Window for more information.