Visual Studio debug tools to detect and debug memory leaks by setting a breakpoint on a particular memory allocation.


/ Published in: C++
Save to your folder(s)

The Visual Studio output window will display "Detected memory leaks!" with a memory allocation number, for example, {145}. See Memory Leak Detection Enabling.

Using the debugger (without changing code) see: http://msdn.microsoft.com/en-us/library/w2fhc9a3%28VS.80%29.aspx

URL: http://msdn.microsoft.com/en-us/library/w2fhc9a3%28VS.80%29.aspx

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.