VS Tips (new ones)
0. Microsoft Visual Studio 2005 IDE Enhancements
Download from:
http://www.microsoft.com/downloads/details.aspx?FamilyID=CD7C6E48-E41B-48E3-881E-A0E6E97F9534&displaylang=en
1. ToolBox cool usage
Toolbox可以做为一个copy & paste的工具来打造一些自己常用的”code controls”,用起来非常方便。
Copy some code snippets and directly paste it into ToolBox. Then later you can use it just like a tool.
2. Code Snippet -- Try for, switch firstly
3. New way to set breakpoint
通过callstack 窗口设置断点。选中想设置断点的call直接F9即可。当然也可以在选中的call上调用Run To Cursor.
4. Exception related
因为程序很大,调试时exception被位于别的code file的上层catch捕获而很难通过操作next statement 光标使程序恢复到一个正常的状态而不得不restart 。
其实可以通过改变Visual studio默认exception设置来改善我们的调试体验。见Debug Menu -> Exceptions. Set Throw for trial.