哪些.NET性能和/或内存分析器可让我分析DLL? [英] Which .NET performance and/or memory profilers will allow me to profile a DLL?

查看:124
本文介绍了哪些.NET性能和/或内存分析器可让我分析DLL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我为其他程序编写了很多基于.NET的插件,这些程序通常被编译为DLL,这取决于本机应用程序的启动.我一直在使用Equatec的探查器,该探查器运行良好,但现在想要具有更多功能的功能,包括探查内存使用情况的功能.

I write a lot of .NET based plug-ins for other programs which are usually compiled as a DLL which is up to the native application to start up. I've been using Equatec's profiler, which works great, but now would like something with more features, including the ability to profile memory usage.

我试用了Red Gate的Ant Profiler,但据我所知,没有方法可以分析DLL.唯一的选择是分析EXE.

I tried out Red Gate's Ant Profiler, but as far as I can see there is no way to profile a DLL. The only option is to profile an EXE.

所以我的问题是,还有哪些其他分析工具可用来允许我分析单个库DLL而不是EXE.我假设这将需要像Equatec一样将配置文件代码注入到库中?

So my question is what other profiling tools are available that will allow me to profile a single library DLL rather than an EXE. I'm assuming this would require injecting profile code into the library as Equatec does?

推荐答案

.Net内存验证器 .Net性能验证器都允许您仅对配置文件进行配置一个dll.

.Net Memory Validator and .Net Performance Validator both allow you to profile just a dll.

您必须在设置对话框的挂钩DLL"部分中指定您感兴趣(或不感兴趣)的DLL.然后启动您的应用程序-仅收集来自指定DLL的数据.

You have to specify the DLLs you are interested in (or not interested in) in the "Hooked DLLs" part of the settings dialog. Then launch your application - only data from the specified DLL is collected.

完全公开:我是创建这些工具的公司的软件工程师.

Full disclosure: I am a software engineer at the company that creates these tools.

这篇关于哪些.NET性能和/或内存分析器可让我分析DLL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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