As a developer, in our day-to-day development activities we spend good amount of time to debug our code, identify the root cause of defect and finally solving them. While some of them are quite easy to identify and fix but there are issue which take countless time to identify. In fact, sometimes we spent more time on debugging than writing the actual piece of code.
Visual Studio gives us several tools to debug the code smoothly and efficiently. There are few essential tools like breakpoints, watch window, process attach window that you use commonly, however, in some cases, you could be more productive by using some of the debugging tips and tricks that may help you to identify the problems very quickly.
The objective of this post to provide you 10 useful tips that can make you highly productive during the debugging in Visual Studio.
- Hide Methods from debugger Using DebuggerHidden attribute
- How to use Runtime Objects in Watch Window during debugging in Visual Studio ?
- How to stop debugger after a specific number of breakpoint hit ?
- How to use DebuggerTypeProxy while debugging your sensitive Type
- How to use out of scope object with in Conditional Breakpoint ?
- Get Object Generation using Watch Window
- Few Tips on Customizing Debugging Window View in Visual Studio
- Calling Methods From Watch Window
- Debugging Multithreaded Program
- Use “Run To Cursor” and save time while debugging
You may interested in all the post related with Debugging Tips and Tricks in Visual Studio
Points 1 and 7 are the same.
Thanks very much! I have updated it link. Something got missed out!
Pingback: Visual Studio Online - The Daily Six Pack: January 15, 2014