Visual C++ - 内存泄漏检测

Visual C++ - Memory Leak Detection(Visual C++ - 内存泄漏检测)

本文介绍了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++ - 内存泄漏检测

基础教程推荐