是否有一个良好的替代品Valgrind的为Windows? [英] Is there a good Valgrind substitute for Windows?

查看:1694
本文介绍了是否有一个良好的替代品Valgrind的为Windows?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找到Valgrind的,有助于提高我的C编码/调试时,我发现这是仅适用于Linux - 我在我的操作系统转向Linux,所以我想知道是否有同样好的方案没有其他的需要或兴趣Windows操作系统。

I was looking into Valgrind to help improve my C coding/debugging when I discovered it is only for Linux - I have no other need or interest in moving my OS to Linux so I was wondering if there is a equally good program for Windows.

推荐答案

由于jakobengblom2指出,有Valgrind的工具套装。根据哪一个你正在谈论有不同的窗口柜台的部分。我只提OSS或点击这里免费工具。

As jakobengblom2 pointed out, valgrind has a suit of tools. Depending which one you are talking about there are different windows counter parts. I will only mention OSS or free tools here.

1。 MEMCHECK:

博士。记忆。这是一个相对较新的工具,效果很好在Windows 7上我最喜欢的功能是,在报告IT小组在同一泄漏的分配堆栈。

Dr. Memory. It is a relatively new tool, works very well on Windows 7. My favorite feature is that it groups the same leaks' allocation stacks in the report.

HTTP://$c$c.google.com/p/drmemory/

我也用UMDH( http://support.microsoft.com/kb/268343 ),并发现它安静的有用和易于安装。它从Win2000的工程Win7的。

I have also used UMDH( http://support.microsoft.com/kb/268343 ) and found it quiet useful and easy to setup. It works from Win2000 to Win7.

AppVerifier的是一个必须有swissknife为Windows本地code语言开发,它的记忆检查程序类似的工作
<一href=\"http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx\">http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx

AppVerifier is a must have swissknife for windows native code developers, its "memory" checker does similar job http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx

2。 Callgrind:

我最喜欢的是verysleepy( HTTP://www.$c$crsnotes.com/sleepy )是微小的,但非常有用和好用。

My favorite is verysleepy ( http://www.codersnotes.com/sleepy ) It is tiny but very useful and easy to use.

如果你需要更多的功能,AMD公司codeAnalyst™性能分析器是免费的:
<一href=\"http://developer.amd.com/documentation/videos/pages/introductiontoamd$c$canalystperformanceanalyzer.aspx\">http://developer.amd.com/documentation/videos/pages/introductiontoamd$c$canalystperformanceanalyzer.aspx

If you need more features, AMD CodeAnalyst™ Performance Analyzer is free: http://developer.amd.com/documentation/videos/pages/introductiontoamdcodeanalystperformanceanalyzer.aspx

Windows性能分析工具是免费的微软,不是很容易使用,但可以把工作做好,如果你愿意花时间。 <一href=\"http://blogs.microsoft.co.il/blogs/sasha/archive/2008/03/15/xperf-windows-performance-toolkit.aspx\">http://blogs.microsoft.co.il/blogs/sasha/archive/2008/03/15/xperf-windows-performance-toolkit.aspx
下载:
<一href=\"http://msdn.microsoft.com/en-us/performance/cc752957\">http://msdn.microsoft.com/en-us/performance/cc752957

Windows Performance Analysis tools is free from Microsoft, not very easy to use but can get the job done if you are willing to spend the time. http://blogs.microsoft.co.il/blogs/sasha/archive/2008/03/15/xperf-windows-performance-toolkit.aspx Download: http://msdn.microsoft.com/en-us/performance/cc752957

3。地块:

类似的(不太精确匹配)在Windows的免费工具是:

Similar(not quite exact match) free tools on windows are:

从的VMMap Sysinternals的:<一href=\"http://technet.microsoft.com/en-us/sysinternals/dd535533\">http://technet.microsoft.com/en-us/sysinternals/dd535533

VMMap from sysinternals : http://technet.microsoft.com/en-us/sysinternals/dd535533

堆命令:<一href=\"http://hacksoflife.blogspot.com/2009/06/heap-debugging-memoryresource-leak-with.html\">http://hacksoflife.blogspot.com/2009/06/heap-debugging-memoryresource-leak-with.html

4。 Cachegrind:

上面提到的Windows性能工具具有L2高速缓存未命中的一定程度的分析能力,但不太好和容易Cachegrind使用。

Above mentioned Windows Performance Tools has certain level of L2 cache miss profiling capability but not quite as good and easy to use as Cachegrind.

5。 DRD:

还没有发现任何自由和强大的Windows然而,对于Windows的唯一免费工具,我可以发现,稍微靠近处于锁定检查
AppVerifier的:
<一href=\"http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx\">http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx

Haven't found anything free and as powerful on Windows yet, the only free tool for windows I can find that is slightly close is the "lock" checker in AppVerifier: http://msdn.microsoft.com/en-us/library/dd371695%28v=vs.85%29.aspx

这篇关于是否有一个良好的替代品Valgrind的为Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆