1: Four debugging windows
2: speed up Encoding
3: speed up Encoding
4: rich use of third-party tools
5: Tools in vs2010
6: Learn to debug
1: Four debugging windows
Immediate window: provides a window for dynamically adding code or changing the current Code variable at runtime.
Quick monitoring window: You can quickly monitor the variables in the current Code.
Call Stack window: view that the current code is called by the code of the other file.
Thread window: view the threads enabled by the current application.
For more debugging skills, refer to the debugging
2: Enable editing and continue
During code debugging, if you find that the code is incorrect, you do not need to stop the debugging. You can directly pause the debugging, modify the code, and then resume the running. Then you can debug the code you just modified.
3: speed up Encoding
A. Smart sensing. Enter prop and press tab to generate a public attribute. To view all keywords that support the smart sensing function, right-click the smart sensing function to view all the symbols.
B. Make good use of the refactoring function. If you select a piece of code and press Ctrl + R + m, the code will be restructured into a function.
C. Make good use of tabs. For example, if the event or delegate variable + = is followed by the tab, a series of Automatic code generation can be completed.
D. Use other shortcut keys. The default shortcut. One trick is to view the shortcut key of a function. You can enter the function name in "display command inclusion" in "options"-"keyboard" to find the shortcut key. You can also define your own shortcut keys here.
4: rich use of third-party tools
Only one of the most useful third-party tools is described.Redgat. The common tools in the tool are as follows. The most important tool is reflector. After integration into your vs, you can directly debug third-party DLL and open DLL in the framework, this is very helpful for us to improve our own level by reading others' excellent code.
1) Ants memory profiler 5.1.0.15
2) Ants performance profiler 5.2.0.26
3) exception hunter 2.1.0.2
4) pinvoke Visual Studio add-in 1.1.0.7
5) SQL backup 6.3.0.48
6) SQL Backup Server Components 6.3.0.48
7) SQL compare 8.1.0.360
8) SQL comparison SDK 8.0.1.8
9) SQL data compare 8.0.2.5
10) SQL data generator 1.2.0.286
11) SQL dependency tracker 2.5.0.558
12) SQL Doc 2.0.0.733
13) SQL multi script 1.1.0.34
14) SQL packager 6.0.0.107
15) SQL prompt 4.0.3.12
16) SQL refactor 1.5.1.31
17) SQL response 1.3.0.58
18) SQL response alert repository 1.3.0.58
19) SQL object level recovery native 1.1.0.32
20). Net reflector 6.0.0.816
5: Tools in vs2010
Vs2010 has an Extension Manager, which has many useful vs tools. For more information, see.
6: Learn to debug
There are two very good articles, which are strongly recommended:
Http://www.cnblogs.com/alexis/archive/2010/11/06/1870519.html
Http://www.cnblogs.com/alexis/archive/2010/11/07/1871073.html
From: http://www.cnblogs.com/luminji/archive/2010/09/19/1830887.html