SELA Developer Days 2011 – C++ Debugging

June 29, 2011

no comments

I’m keeping up with the updates from the SELA Developer Days conference. Yesterday our classes were full to the brim with attendees – some of the sessions delivered were Parallel Programming in .NET 4.0, Introduction to Windows Phone 7, and a feature-packed day on TFS 2010 and Visual Studio 2010.


I delivered yesterday a session on C++ debugging, in which we covered the following topics:

  • How to read x86 and x64 assembly listings created by the C/C++ compilers
  • How to match debugging symbols to the debugged process or dump
  • How to generate crash dumps and hangs dumps
  • How to analyze crash dumps in Visual Studio 2010 and how to perform initial automatic analysis in WinDbg
  • How to use UMDH to find a memory leak in a C++ application
  • How to traverse wait chains between critical sections, threads, and other synchronization mechanisms
  • How to diagnose heap corruptions and catch them at the earliest point possible
  • How to approach stack corruptions with minimal information

During this very busy day we also had the chance to do a little hands-on work – a one-hour lab on generating crash dumps and pinpointing the crash cause in Visual Studio and WinDbg, and a half-hour lab on debugging a deadlock in an MFC application.

If you attended my session and have any further questions, I’ll appreciate if you let me know, as always. Today and tomorrow I’m delivering two more sessions, so stay tuned for more updates.

Add comment
facebook linkedin twitter email

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>