本文介绍了VS2010 profiler/泄漏检测的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道可以使用 VS2010 代码的分析器和泄漏检测器吗?最好是在 Win7 上运行的.

Anyone know of a profiler and leak detector that will work with VS2010 code? Preferably one that runs on Win7.

我在这里和谷歌搜索过.我找到了一个可以工作的泄漏检测器(内存验证器),但我并没有留下太深刻的印象.一方面,它显示了一堆菜单泄漏和我相当确信不是真实的东西.我也试过 GlowCode,但它只是一个分析器,拒绝在 win7 上安装.

I've searched here and in google. I've found one leak detector that works (Memory Validator) but I'm not too impressed. For one thing it shows a bunch of menu leaks and stuff which I'm fairly confident are not real. I also tried GlowCode but it's JUST a profiler and refuses to install on win7.

我曾经使用过 AQtime.它拥有我需要的一切,内存/资源泄漏检测、各种事物的分析、静态分析等.不幸的是,它现在给出了虚假的结果.

I used to use AQtime. It had everything I needed, memory/resource leak detection, profiling various things, static analysis, etc. Unfortunately it gives bogus results now.

我的主要直接问题是 VS2010 说 VS2005 中没有的程序存在泄漏.我几乎可以肯定这是误报,但我似乎找不到一个好的工具来验证这一点.Memory Validator 没有显示相同的内容,并且 VS 的泄漏报告似乎不合理.

My main immediate issue is that VS2010 is saying there are leaks in a program that had none in VS2005. I'm almost certain it's false positives but I can't seem to find a good tool to verify this. Memory Validator doesn't show the same ones and the reporting of leaks from VS doesn't seem rational.

推荐答案

Noah,正如 Ori 所提到的,来自 Micro Focus 的 DevPartner Studio 具有泄漏检测和其他运行时分析功能.与 Compuware 下 DPS 的高价不同,如果您需要,您现在可以只许可运行时分析器而不是整个套件.无耻的插件:我在 DevPartner 团队工作.我们的 64 位应用程序支持在 2011 年 2 月 4 日发布的 10.5 版本中提供.在 http://上查找发布新闻和评估下载www.DevPartner.com.

Noah, as Ori mentioned, DevPartner Studio from Micro Focus has both leak detection and other runtime profiling features. Unlike the lofty prices DPS had under Compuware, you can now license just the runtime profilers and not the whole suite if that's what you need. Shameless plug: I work on the DevPartner team. Our 64-bit application support ships in the 10.5 release on February 4, 2011. Look for release news and eval downloads on http://www.DevPartner.com.

这篇关于VS2010 profiler/泄漏检测的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-27 06:14