VS2010 Debugging shortcut keys

Source: Internet
Author: User

Command name

Shortcut keys

Description

Debugging. Applying Code Changes

Alt + F10

Initiates a build operation that allows you to apply changes to the code you are debugging by using the Edit and Continue feature.

Debugging. Auto Window

Ctrl + D , Ctrl + A

Displays the Auto window to see the values of the variables currently executing in the current procedure.

Debug. All interrupts

Ctrl + Alt + break

Temporarily stops execution of all processes in the debugging session. Available only for run mode.

Debug. Break at function

Ctrl + D , Ctrl + N

Displays the New Breakpoint dialog box.

Debugging. Breakpoints

Ctrl + D , Ctrl + B

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

Debug. Call stack

Ctrl + D , Ctrl + 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 for run mode.

Debug. Delete all Breakpoints

Ctrl + Shift + F9

Clears all breakpoints in the project.

Debugging. Disassembly

Ctrl + Alt + D

Displays the Disassembly window.

Debugging. Enabling breakpoints

Ctrl + F9

Switch the breakpoint from disabled to Enabled.

Debugging. Exceptions

Ctrl + D , Ctrl + E

Displays the Exceptions dialog box.

Debugging. Instant

Ctrl + D , Ctrl + I

Displays the Immediate window, where you can evaluate an expression and execute individual commands.

Debugging. Local Variables

Ctrl + D , Ctrl + L

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

Debugging. Memory 1

Ctrl + Alt + M , 1

Displays the Memory 1 window to view large buffers, strings, and other data that cannot be clearly displayed in the Watch or Variables window.

Debugging. Memory 2

Ctrl + Alt + M , 2

Displays the Memory 2 window to view large buffers, strings, and other data that cannot be clearly displayed in the Watch or Variables window.

Debugging. Memory 3

Ctrl + Alt + M , 3

Displays the Memory 3 window to view large buffers, strings, and other data that cannot be clearly displayed in the Watch or Variables window.

Debugging. Memory 4

Ctrl + Alt + M , 4

Displays the Memory 4 window to view large buffers, strings, and other data that cannot be clearly displayed in the Watch or Variables window.

Debugging. Modules

Ctrl + D , Ctrl + M

Displays the Modules window, which allows you to view the. dll or. exe files used by the program. In multi-process debugging, you can right click and click Show modules for all programs.

Debugging. Process

Ctrl + D , Ctrl + P

Displays the Processes window. Available for run mode.

Debugging. Quick Monitoring

Ctrl + D , Ctrl + Q

Displays the Quick Watch dialog box that contains the current value of the selected expression. Only available in break mode. Use this command to check the current value of a variable, property, or other expression that has not yet defined a watch expression.

Debug. Registers

Ctrl + D , Ctrl + R

Displays the Registers window, which displays the contents of the registers used to debug the native code application.

Debug. Restart

Ctrl + Shift + F5

End the debugging session, rebuild and run the application from the beginning. Available for break mode and run mode.

Debug. Run to Cursor

Ctrl + F10

In break mode, continue executing code from the current statement until the statement is selected. The current execution line margin indicator appears in the margin indicator bar. In design mode, start the debugger and execute the code (execution to the cursor location).

Debugging. Script Explorer

Ctrl + Alt + N

Displays the Script Explorer window, which lists the set of documents being debugged. Available for run mode.

Debug. Set Next Statement

Ctrl + Shift + F10

Sets the execution point on the selected line of code.

Debug. Show Next Statement

Alt + in the number key area  *

Highlight the next statement that you want to execute.

Debug. Start

F5

Automatically attaches the debugger and runs the application from the startup project specified in the < Project > Properties dialog box. If it is break mode, change to continue.

Debug. Start execution Without debugging

Ctrl + F5

Run the code without invoking the debugger.

Debug. Statement-wise

F11

Executes the code on an itemized statement after executing the ENTER function call.

Debug. Enter and step into the current process

Ctrl + Alt + F11

Can be used from the Processes window.

Debug. Jump out

Shift + F11

Executes the remaining rows of the function where the current execution point resides.

Debug. Jump out of the current process

Ctrl + Shift + Alt + F11

Can be used from the Processes window.

Debugging. Step Over process

F10

Executes the next line of code, but does not perform any function calls.

Debug. Step over the current process

Ctrl + Alt + F10

Can be used from the Processes window.

Debugging. Stop Debugging

Shift + F5

Stop running the current application in the program. Available for break mode and run mode.

Debugging. Threads

Ctrl + D , Ctrl + T

Displays the Threads window to view all the threads of the current process and their related information.

Debugging. Toggle Breakpoint

F9

Sets or removes a breakpoint at the current line.

Debug. Toggle Disassembly

Ctrl + D , Ctrl + D

Displays disassembly information for the current source file. Only available in break mode.

Debugging. Monitoring

Ctrl + Alt + W , 1

Displays the Watch 1 window to view the values of the selected variable or watch expression.

Debugging. Monitoring 2

Ctrl + Alt + W , 2

Displays the Watch 2 window to view the values of the selected variable or watch expression.

Debugging. Monitoring 3

Ctrl + Alt + W , 3

Displays the Watch 3 window to view the values of the selected variable or watch expression.

Debugging. Monitoring 4

Ctrl + Alt + W , 4

Displays the Watch 4 window to view the values of the selected variable or watch expression.

Debugger context menu. Breakpoints window. Delete

Alt + F9 , D

Removes the selected breakpoint. Available only in the Breakpoints window.

Debugger context menu. Breakpoints window. Go To Disassembly

Alt + F9 , A

Displays the Disassembly window. Available only in the Breakpoints window.

Debugger context menu. Breakpoints window. Go to Source code

Alt + F9 , S

Go to the location of the selected breakpoint in the code file. Available only in the Breakpoints window.

Tools. Attaching to a process

Ctrl + Alt + P

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

Find All references

Shift+f12

You can view a reference to a method

Call to Find method

CTRL + MINUS SIGN

You can quickly return to the function's call point

Reference namespaces

CTRL +. or ALT+SHIFT+F10

You can quickly add a namespace

VS2010 Debugging shortcut keys

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.