Tracking down memory leaks when linking with the CRT DLL- August 19, 2004 I recently rebuilt a C++ project to use the DLL version of the CRT and discovered that the _crtBreakAlloc variable was not visible to the Visual C++ debugger. If you don't already know, this variable is maintained by the debug CRT heap allocation code and can be used to track memory leaks, as discussed in this KnowledgeBase article. The article also gave me a clue as to why this technique wasn't available - I need to use the code context feature when typing the debugger expression in..http://blogs.msdn.com/markda/archive/2004/08/19/217334.aspx |