Enhanced Memory Leak Detection for Visual C++ Visual Leak Detector is a free, robust, open-source memory leak detection system for Visual C++. It's pretty easy to use. After installing it, you just need to tell Visual C++ where to find the included header and library file. Then it can be used with any C/C++ project simply by adding the following line to your code: #include When you run your program under the Visual Studio debugger, Visual Leak Detector will output a memory leak report at the end of your debugging session. The leak report includes the full call stack showing how any leaked memory blocks were allocated. Double-click on a line in the call stack to jump to that file and line in the editor window. It's a very effective way to quickly diagnose, and fix, memory leaks in C/C++ applications. The main difference between the CRT Debug Library and VLD, is that Visual Leak Detector shows you the complete callstack used for memory allocation has led to the leak.
2020-12-06 23:31:56 2.82MB Memory Leak Detection Visual
1
VLD网址:http://vld.codeplex.com/ 使用: 1. 项目设置中添加VLD头文件和LIB库目录 2. 工程头文件(如stdafx.h)中添加: #include 3. DEBUG下使用,程序退出后会显示是否有内存泄漏。
2019-12-21 21:17:21 477KB VLD
1