sevcik.tk

Avatar

sevcik [dot] tk / .net, csharp, sharepoint, visual studio, my knowledge base, my tips, etc…

Another Visual Studio Debugging Tips and Tricks

Visual Studio Debugging Tips and Tricks Maheshs brain droppingsby Mahesh Krishnan on http://blogesh.wordpress.com/2008/09/09/visual-studio-debugging-tips-and-tricks/

1. Debugging/Stepping into Framework code

2. Moving the Execution Point

3. Step into Specific

4. Step over properties and operators

5. Tracepoints

6. Conditional break points and trace points

7. The DebuggerDisplay attribute

8. The DebuggerBrowsable attribute

9. The DebuggerTypeProxy attribute

10. The System.Diagnositcs Namespace

5 debugging tips and tricks screencasts

5 debugging screencasts by Brian Hitney (Microsoft developer evangelist) http://structuretoobig.com/

  1. Part 1 is primarily an introduction into setting breakpoints … turns out there are number of ways to set breakpoints other than just clicking in the gutter.
    http://channel9.msdn.com/posts/dpeeast/DevNugget-Debugging-Tips-and-Tricks-Part-1/
  2. In part 2, he looks at using breakpoint modifiers – specifically, using the hit count modifier, and then the condition modifier.  The condition modifier can be incredibly powerful – while we can corrupt the state of our application pretty easily (as he will demonstrate), it starts to open a whole new world for debugging more efficiently.
    http://channel9.msdn.com/posts/dpeeast/DevNugget-Debugging-Tips-and-Tricks-Part-2/
  3. In part 3, we’ll dive a little deeper into some conditions by writing methods to help debug our application, then look at using the filter breakpoint modifier to debug multithreaded applications.  Finally, we’ll take a quick look at tracepoints.
    http://channel9.msdn.com/posts/dpeeast/DevNugget-Debugging-Tips-and-Tricks-Part-3/
  4. In part 4, we’ll look at the watch windows, the immediate window, and Make Object ID command.
    http://channel9.msdn.com/posts/dpeeast/DevNugget-Debugging-Tips-and-Tricks-Part-4/
  5. In part 5, we’ll look at how to use the set next statement while debugging. We’ll also look at setting up the .NET Reference Source Code for stepping through the .NET BCLs, followed by some exception handling tips.  Finally, we’ll take a look at using Mole (a VS visualizer) to further enhance the debugging experience.
    http://channel9.msdn.com/posts/dpeeast/DevNugget-Debugging-Tips-and-Tricks-Part-5/

,