首页 > 代码库 > Visual C++ 2012/2013的内存溢出检測工具
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 Windbg》http://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:
- Memory Leak Detection Using Windbg
- Memory Leak Detection in MFC
- Common WinDbg Commands (Thematically Grouped)
- C/C++ Memory Corruption And Memory Leaks
- The Memory Management Reference
- Using LeakDiag to Debug Unmanaged Memory Leaks
- Heap: Pleasures and Pains
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。