Debugging .NET Applications with WinDBG and SOS

Last night I gave a presentation for the Pasco County .NET User’s Group on Debugging .NET Applications with WinDBG and SOS. We covered some basics of the CLR and Memory Management in .NET, and then how to troubleshoot Crashes, Hangs and Memory Leaks when dealing with .NET applications in production.

If you are interested in learning more, I’d highly recommending checking out Tess Ferrandez’s blog where she has a set of labs for really digging into this stuff. If you are trying to debug an application or service that is crashing on startup, the blog post I mention is on my site, and the KB article for automatically attaching a debugger to a service on startup is KB824344.

Finally, you can download WinDBG from the Microsoft Web Site, and you can download the sample application here. The slides are available on SlideShare or you can download the PowerPoint presentation.

Comments on this entry are closed.

  • Mikhail Strebkov April 15, 2011, 7:13 am

    Thanks for the presentation!
    I can’t download the sample application (WinDBGDemo.zip is not found at http://www.coryfoy.com/downloads/WinDBGDemo.zip – error 404).
    :(

  • Samuel Menezes May 29, 2012, 5:40 pm

    I can’t download the sample application :(
    http://www.coryfoy.com/downloads/WinDBGDemo.zip – error 404

    Are you still teaching Windbg?
    Given classes or something like that?

    Can you send me the WindbgDemo.exe file?

    Thanks in advanced,

    Samue Menezes

  • Cory Foy May 30, 2012, 1:03 pm

    Sorry for everyone who couldn’t access the link. It’s fixed now!