Visual C++ - Memory Leak Detection(Visual C++ - 内存泄漏检测)
问题描述
有什么建议吗?这篇 SO 帖子讨论了 Visual Leak Detector,但我正在寻找其他工具.另外,请不要推荐这个.
Any suggestions? This SO post talks about Visual Leak Detector, but I'm looking for other tools. Also, please don't recommend this.
推荐答案
我用过 Visual Leak Detector最近,它工作得很好.构建它非常简单(只需包含 vld.h
)并且不需要任何工具.我发现我需要编写几个脚本才能将输出解析为对我的目的更有用的东西(它迫切需要一个像样的 GUI).请注意新网站——该项目正在 Codeplex 上积极维护——Codeproject 链接很旧.
I've used Visual Leak Detector quite recently and it works pretty well. It's very simple to build it in (just include vld.h
) and doesn't require any instrumentation. I found that I needed to write a couple of scripts though to parse the output into something more useful for my purposes (it is crying out for a decent GUI). Note the new website -- the project is being actively maintained on Codeplex -- the Codeproject link is very old.
这篇关于Visual C++ - 内存泄漏检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Visual C++ - 内存泄漏检测


基础教程推荐
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
- 这个宏可以转换成函数吗? 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01