Monthly Archives: June 2009

Debugging Memory Leaks, Part 2: CRT support

This feature is well documented, but yet from what I see – doesn’t get the usage it deserves. Here’s a quick, beginner-oriented rehash – if only to refer my teammates. Problem and Immediate Solution If you’re developing MFC apps, the … Continue reading

Posted in Debugging, VC++ | 3 Comments

Viewing Debugee Environment Variables

Koby asks – “How suitable is VS automation for doing something like printing the values of all environment variables in the debugee process”? In fact, I just learnt how to do that. type ‘$env=0’, either at a watch window or … Continue reading

Posted in Debugging, VC++, Visual Studio | 2 Comments