Thursday, August 22, 2013

Filled Under:
, ,

Debug Editor Shortcut Keys in Visual Studio

Hello Friends,

Today I am writing this post because of debugging is very critical part of developing and using debugging best shortcut we can do debug faster and smoother, So lets use it next time in your project.

Use the following key combinations while you are debugging your project.

Note:  You can change or create keyboard shortcuts in Keyboard of the Environment options in the Options dialog box.

1.             Display documentation for the active window .... F1
2.            Display a system menu for the application window...ALT+SPACEBAR
3.            Add and remove breakpoints on the current lines... F9
4.           Clear all breakpoints................... CTRL+SHIFT+F9
5.            Disable breakpoint....................... CTRL+F9
6.           Display Auto window and move cursor into it..... CTRL+ALT+A
7.            Display Breakpoints dialog box............ CTRL+B
8.             Display Call Stack window and move cursor into it... CTRL+ALT+C
9.            Display Immediate window and move cursor into it.
10.       Not available if you are in the Text Editor window....... CTRL+ALT+I
11.       Display Locals window and move cursor into it............ CTRL+ALT+L
12.      Display Running Document window and move cursor into it.. CTRL+ALT+R
13.       Adds a watch on the currently selected word.............. SHIFT+F9
14.       Display the next statement.............. ALT+* on the NUM pad
15.       Display the shortcut menu................ SHIFT+F10
16.      Display Threads window and move cursor into it........... CTRL+ALT+H
17.      Display Watch window and move cursor into it..CTRL+ALT+W
18.      End debugging session.................................... SHIFT+F5
19.      Execute code one statement at a time, following
        execution into function calls Step Into)................. F11
20.       Execute the next line of code but not follow
        execution through any function calls (Step Over)......... F10
21.       Execute the remaining lines of a function in
        which the current execution point lies (Step Out)........ SHIFT+F11
22.       Restart a debugging session.............................. CTRL+SHIFT+F5
23.       Resume execution of your code from the current
24.       statement to the selected statement (Run to Cursor)..... CTRL+F10
25.       Run the application..................................... F5
26.       Run the code without invoking the debugger
   (Start without Debugging)............................... CTRL+F5
   Set the next statement.................................. CTRL+SHIFT+F10
   Stop execution (Break).................................. CTRL+BREAK


If you like this post share it.. If you encounter any problems, feel free and comment below to find solution. Share Your Experience with us.





0 comments:

Post a Comment