Visual C ++ - 内存泄漏检测 [英] Visual C++ - Memory Leak Detection
问题描述
有任何建议吗?本SO文章介绍了视觉泄漏检测器,但我正在寻找其他工具。此外,请不要推荐此。
Any suggestions? This SO post talks about Visual Leak Detector, but I'm looking for other tools. Also, please don't recommend this.
推荐答案
我最近使用过视觉泄漏探测器它工作相当不错。这是非常简单的(只是包括 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 ++ - 内存泄漏检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!