Visual C++ 2012/2013的内存溢出检測工具

在过去,每次编写C/C++程序的时候,VLD差点儿是我的标配。有了它,就能够放心地敲代码,随时发现内存溢出。

VLD最高可支持到Visual Studio 2012。不知道以后会不会支持Visual Studio 2013,但反正眼下是不支持的。

相关的讨论见:https://vld.codeplex.com/discussions/471214


那么在Visual Studio 2013下还是老老实有用MFC的内存溢出检測工具,或者用WinDBG吧。

推荐一篇文章:《Memory Leak Detection Using Windbghttp://www.codeproject.com/Articles/31382/Memory-Leak-Detection-Using-Windbg



參考:stackoverflow上的回答:

What is the best free memory leak detector for a C/C++ program and its plug-in DLLs? [closed]

http://stackoverflow.com/questions/25730/what-is-the-best-free-memory-leak-detector-for-a-c-c-program-and-its-plug-in-d


Take a look at these links in order to learn more about WinDbg, memory leaks and memory management in general:


原文地址:https://www.cnblogs.com/mfrbuaa/p/4299244.html