vs2010 debugging shortcuts


command name

hot key

illustrate

Debug. Apply code changes

Alt + F10

Starts a build operation that allows you to apply changes to the code being debugged through the Edit and Continue feature.

debug.autowindow

Ctrl + DCtrl + A

Display the Auto window to view the values ​​of variables currently executing in the current process.

debug.break all

Ctrl + Alt + Break

Temporarily stops executing all processes in the debugging session. Only available in Run mode.

Debug. Break at function

Ctrl + DCtrl + N

Displays the New Breakpoint dialog.

debug.breakpoints

Ctrl + DCtrl + B

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

debug.call stack

Ctrl + DCtrl + C

Displays the Call Stack window to display a list of all active procedures or stack frames for the currently executing thread. Only available in Run mode.

Debug. Remove all breakpoints

Ctrl + Shift + F9

Clear all breakpoints in the project.

Debug. Disassemble

Ctrl + Alt + D

Displays the Disassembly window.

debug.enable breakpoints

Ctrl + F9

Toggle the breakpoint from disabled to enabled.

debug.Exception

Ctrl + DCtrl + E

Displays the Exception dialog box.

debug.instant

Ctrl + DCtrl + I

Displays the Immediate window, where expressions can be evaluated and individual commands executed.

debug.local variables

Ctrl + DCtrl + L

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

debug.memory1

Ctrl + Alt + M1

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

debug.memory2

Ctrl + Alt + M2

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

debug.memory 3

Ctrl + Alt + M3

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

debug.memory 4

Ctrl + Alt + M4

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

debug.module

Ctrl + DCtrl + M

Displays the Modules window, which lets you 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".

debug.process

Ctrl + DCtrl + P

Displays the Processes window. Available in Run mode.

Debug. Quick Watch

Ctrl + DCtrl + Q

Displays the Quick Watch dialog box containing the current value of the selected expression. Only available in Interrupt mode. Use this command to check the current value of a variable, property, or other expression for which a watch expression has not been defined.

debug.registers

Ctrl + DCtrl + R

Displays the Registers window, which displays register contents for debugging native code applications.

debug.reboot

Ctrl + Shift + F5

End the debugging session, rebuild and run the application from scratch. Available in Interrupt and Run modes.

Debug. Run to cursor

Ctrl + F10

In Break mode, code execution continues from the current statement until the selected statement. The "Current Execution Line" margin indicator appears in the "Margin Indicator" column. In Design mode, start the debugger and execute the code (to the cursor position).

Debug.Script Explorer

Ctrl + Alt + N

Displays the Script Explorer window, which lists the document set being debugged. Available in Run mode.

debug.set next statement

Ctrl + Shift + F10

Set an execution point on the selected line of code.

debug. show next statement

Alt + * in number pad

Highlight the next statement to be executed.

debug.start

F5

Automatically attaches the debugger and runs the application from the startup project specified in the <Project> Properties dialog box. If in "Break" mode, change to "Continue".

Debug. Start execution without debugging

Ctrl + F5

Run code without invoking the debugger.

debug. statement by statement

F11

After execution enters the function call, the code is executed statement by statement.

Debug. Enter and step through the current process

Ctrl + Alt + F11

Available from the Processes window.

debug.jump

Shift + F11

Execute the remaining lines of the function at the current execution point.

Debug. Exit the current process

Ctrl + Shift + Alt + F11

Available from the Processes window.

Debug. Process by Process

F10

The next line of code is executed, but no function calls are made.

Debug. Execute the current process step by step

Ctrl + Alt + F10

Available from the Processes window.

debug.stop debug

Shift + F5

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

debug.thread

Ctrl + DCtrl + T

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

debug.toggle breakpoint

F9

Set or remove a breakpoint on the current line.

debug.toggle disassembly

Ctrl + DCtrl + D

Display disassembly information for the current source file. Only available in Interrupt mode.

debug.monitor

Ctrl + Alt + W1

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

debug.monitor 2

Ctrl + Alt + W2

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

debug.monitor 3

Ctrl + Alt + W3

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

debug.monitor 4

Ctrl + Alt + W4

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

Debugger context menu. Breakpoints window. Delete

Alt + F9 D

Remove selected breakpoints. Available only in the Breakpoints window.

Debugger context menu. Breakpoints window. Go to disassembly

Alt + F9A

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

Debugger context menu. Breakpoints window. Go to source

Alt + F9 S

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

tools.Attach to process

Ctrl + Alt + P

Displays the Attach to Process dialog, which enables you to debug multiple programs simultaneously in a single solution.

Find all citations

Shift+F12

Can view method references

Find method calls

Ctrl+Minus

You can quickly return to where the function was called

reference namespace

Ctrl+. or Alt+Shift+F10

Namespaces can be added quickly

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325022569&siteId=291194637