Export (0) Print
Expand All

Debugging Shortcut Keys, Visual Studio 6 Scheme 

The following shortcut key combinations can be used while debugging code.

Command Name Shortcut Keys Description

Data.StepInto

ALT + F5

Steps into debug mode for the currently active database object. Available only in the Database Designer or Query and View Designer.

Debug.ApplyCodeChanges

ALT + F10

Starts an Edit and Continue build to apply changes to code being debugged.

Debug.AttachToProcess

CTRL + SHIFT + R

Displays the Attach to Process dialog box.

Debug.Autos

CTRL + ALT + V, A

Displays the Autos window to view the values of variables that are in the scope of the currently executing line in the current procedure.

Debug.BreakAll

CTRL + BREAK

—or—

CTRL + ALT + BREAK

Temporarily stops execution of all processes in a debugging session. Available only in Run mode.

Debug.Breakpoints

CTRL + B

Displays the Breakpoints window, where you can add and modify breakpoints.

Debug.CallStack

CTRL + ALT + C

Displays the Call Stack window to present a list of all active procedures or stack frames for the current thread of execution. Available only in Run mode.

Debug.DeleteAllBreakpoints

CTRL + SHIFT + F9

Clears all breakpoints in the project.

Debug.Disassembly

CTRL + ALT + D

Displays the Disassembly window.

Debug.EnableBreakpoints

CTRL + F9

Sets a breakpoint at the current line.

Debug.Exceptions

CTRL + SHIFT + E

—or—

CTRL + ALT + E

Displays the Exceptions dialog box.

Debug.Immediate

CTRL + ALT + I

Displays the Immediate window where you can evaluate expressions and execute individual commands.

Debug.Locals

CTRL + ALT + L

—or—

CTRL + ALT + V, L

Displays the Locals window to view the variables and their values for each procedure in the current stack frame.

Debug.Memory1

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

Debug.Memory2

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

Debug.Memory3

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

Debug.Memory4

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

Debug.Modules

CTRL + ALT + U

Displays the Modules window, which lets you view the .dll or .exe files used by the program.

Debug.Processes

CTRL + ALT + Z

Displays the Processes window, which lets you debug multiple programs at the same time in a single solution.

Debug.QuickWatch

SHIFT + F9

—or—

CTRL + ALT + Q

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.

Debug.Registers

CTRL + ALT + G

Displays the Registers window, which displays content in registers for debugging native code applications.

Debug.Restart

CTRL + SHIFT + F5

Terminates a debugging session, rebuilds, and then starts running the application from the beginning. Available in Break and Run modes.

Debug.RunToCursor

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. In Design mode, starts the debugger and executes code to the cursor location.

Debug.ScriptExplorer

CTRL + ALT + N

Displays the Script Explorer window, which lists the set of documents that you are in the process of debugging. Available in Run mode.

Debug.SetNextStatement

CTRL + SHIFT + F10

Sets the execution point to the line of code you choose.

Debug.ShowNextStatement

ALT + NUM*

Highlights the next statement to be executed.

Debug.Start

F5

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.

Debug.StartWithoutDebugging

CTRL + F5

Runs the code without invoking the debugger.

Debug.StepInto

F11

Executes code one statement at a time, following execution into function calls.

Debug.StepIntoCurrentProcess

CTRL + ALT + F11

Available from the Processes window.

Debug.StepOut

SHIFT + F11

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

Debug.StepOutCurrentProcess

CTRL + SHIFT + ALT + F11

Available from the Processes window.

Debug.StepOver

F10

Executes the next line of code, but does not follow execution through any function calls.

Debug.SetpOverCurrentProcess

CTRL + ALT + F10

Available from the Processes window.

Debug.StopDebugging

SHIFT + F5

Stops running the current application in the program. Available in Break and Run modes.

Debug.Threads

CTRL + ALT + H

Displays the Threads window to view all threads for the current process and information about them.

Debug.ToggleBreakpoint

F9

Sets or removes a breakpoint at the current line.

Debug.ToggleDisassembly

CTRL + F11

Displays the disassembly information for the current source file. Available only in Break mode.

Debug.Watch

CTRL + ALT + W, 1

Displays the Watch1 window to view the values of selected variables or watch expressions.

Debug.Watch2

CTRL + ALT + W, 2

Displays the Watch2 window to view the values of selected variables or watch expressions.

Debug.Watch3

CTRL + ALT + W, 3

Displays the Watch3 window to view the values of selected variables or watch expressions.

Debug.Watch4

CTRL + ALT + W, 4

Displays the Watch4 window to view the values of selected variables or watch expressions.

DebuggerContextMenus.BreakpointsWindow.Delete

ALT + F9, D

Removes the selected breakpoint. Available from within the Breakpoints window only.

DebuggerContextMenus.BreakpointsWindow.GoToDisassembly

ALT +F9, A

Displays the Disassembly window. Available from within the Breakpoints window only.

DebuggerContextMenus.BreakpointsWindow.GoToSourceCode

ALT +F9, S

Navigates to the location of the selected breakpoint in the code file. Available from within the Breakpoints window only.

Tools.AttachtoProcess

CTRL + ALT + P

Displays the Attach To Process dialog box, which lets you debug multiple programs at the same time in a single solution.

See Also

Community Additions

ADD
Show:
© 2015 Microsoft