Debugging Shortcut Keys
This table lists shortcuts that are globally available while writing code.
Shortcut | Menu equivalent | Action |
---|---|---|
Ctrl-B | Debug → New Breakpoint → Break at Function | Opens the dialog to create a breakpoint at the named function. |
Ctrl-Alt-B | Debug → Windows → Breakpoints | Shows the Breakpoints window. |
Ctrl-Shift-F9 | Debug → Delete All Breakpoints | Deletes all set breakpoints in your solution. |
Ctrl-F9 | Disables/re-enables the selected breakpoint. | |
Ctrl-Alt-E | Debug → Exceptions | Shows the dialog to set which exceptions in code will cause Visual Studio to break into the code. |
Ctrl-Alt-I | Debug → Windows → Immediate | Shows the Immediate window. |
Ctrl-Alt-P | Tools → Attach to Process | Opens the Attach to Process dialog box. |
F5 | Debug → Start Debugging | Starts the project in the debugger. |
Ctrl-F5 | Debug → Start Without Debugging | Starts the project without the debugger. |
F9 | Debug → Toggle Breakpoint | Adds/removes a breakpoint to the current line of code. |
Ctrl-F11 | Debug → Toggle Disassembly | Shows/hides the disassembly for the current file which has been broken into (break mode only). |
The following table lists shortcuts (and menu options) that become available in addition to those in the preceding table when you are debugging code.
Shortcut | Menu equivalent | Action |
---|---|---|
Ctrl-Alt-V, A | Debug → Windows → Autos | Shows the Autos window. |
Ctrl-Alt-C | Debug → Windows → Call Stack | Shows the Call Stack window. |
Ctrl-Alt-D | Debug → Windows → Disassembly | Shows the Disassemble window (while debugging). |
Ctrl-Alt-V, L | Debug → Windows → Locals | Shows the Locals window. ... |
Get Programming ASP.NET 3.5, 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.