.Net Profiler [英] .Net Profiler

查看:73
本文介绍了.Net Profiler的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,所有


调试应用程序的最佳.net概要分析器是什么。我必须买一个

,但我不知道哪一个!!

我尝试了其中一些像Borland和AQTime。


我的大问题是,我的应用程序是一个很大的应用程序,而且很多时候我的b $ b有很多与一个对象关联的EventHandler,那么这个对象永远不会是免费的b
来自内存。

.Net的AQTime可以告诉我对象

有多少参考EventHandler。但它无法告诉我是谁创造了这个参考。


因此,修复它是一个痛苦...因为我必须在我的
代码可能知道谁可以创建这个引用。


Borland到目前为止没有用处......昂贵且没有提供

没有用于调试,只是为了查看应用程序的性能是'


然后问题是,有一些.Net profiler可以告诉我谁

创建对EventHandlers的引用?如果没有探查器可以做

那个。如何在我的代码中逐行修复它。


谢谢,

Gustavo。

Hi, All

What''s is the best .net profiler for Debug an application. I have to buy one
but I don''t know which one!!
I tried some of them like Borland and AQTime.

My big problem is, my application is a big application, and many times I
have many EventHandlers associated to an object, then this object never is
free from the memory.
AQTime for .Net can tell me how many references of EventHandler the object
has. But it can''t tell me who create this reference.

So for fix it is a pain in the a... because I have to see line by line in my
code to may be know who can create this reference.

Borland so far is not usefull for nothing... Expensive and doesn''t provide
nothing for debug, just to see the application performace that''s it

Then the question is, there are some .Net profiler that can tell me who
create the references to the EventHandlers? if there are not profiler to do
that. How can I fix it with out look line by line in my code.

Thanks,
Gustavo.

推荐答案

如果您需要为您的应用程序构建一个自定义分析器

您可以从此链接开始到SSCLI分析器核心源

代码。

http ://www.slink-software.com/W/SrcD...scli.sdoc/N_36

开始理解CLI分析器并不是一个糟糕的地方钩子和

它的潜力。


sscli.sdoc

BuildInfo

源代码路线图:

App Domain

Marshaler

Profiler

ProfToEEInterface - proftoeeinterfaceimpl.h:34

CorProfInfo - profile.h:64

ICorProfilerInfo - corprof.h:1889

CProfilerCallback - profilercallback.h:9

If you have to build a profiler customize for your application
you can start from this link to the SSCLI profiler core source
code.

http://www.slink-software.com/W/SrcD...scli.sdoc/N_36

It is not a bad place to start understand the CLI profiler hooks and
its potential too.

sscli.sdoc
BuildInfo
Source Code Roadmap:
App Domain
Marshaler
Profiler
ProfToEEInterface - proftoeeinterfaceimpl.h:34
CorProfInfo - profile.h:64
ICorProfilerInfo - corprof.h:1889
CProfilerCallback - profilercallback.h:9
ObjectsAllocatedByClass - profilercallback.cpp:545

"Franco Gustavo" <gf*****@inuntius.com> wrote in message news:<Ov**************@TK2MSFTNGP12.phx.gbl>...
全部
调试应用程序的最佳.net概要分析器是什么。我必须买一个
但我不知道哪一个!!
我尝试了其中一些像Borland和AQTime。

我的大问题是,我的申请是一个很大的应用程序,很多时候我有很多与对象关联的EventHandler,然后这个对象永远不会从内存中释放出来。
.Net的AQTime可以告诉我有多少EventHandler的引用对象
有。但它无法告诉我是谁创建了这个参考。

所以为了修复它是一个痛苦...因为我必须在我的
代码中逐行看到可能知道谁可以创建这个参考。

Borland到目前为止没有任何用处......昂贵并且没有提供任何调试,只是为了看到应用程序的性能那就是

然后问题是,有一些.Net探查器可以告诉我谁创建了对EventHandlers的引用?如果没有探查者要做那个。如何在我的代码中逐行修复它。

谢谢,Gustavo。
Hi, All

What''s is the best .net profiler for Debug an application. I have to buy one
but I don''t know which one!!
I tried some of them like Borland and AQTime.

My big problem is, my application is a big application, and many times I
have many EventHandlers associated to an object, then this object never is
free from the memory.
AQTime for .Net can tell me how many references of EventHandler the object
has. But it can''t tell me who create this reference.

So for fix it is a pain in the a... because I have to see line by line in my
code to may be know who can create this reference.

Borland so far is not usefull for nothing... Expensive and doesn''t provide
nothing for debug, just to see the application performace that''s it

Then the question is, there are some .Net profiler that can tell me who
create the references to the EventHandlers? if there are not profiler to do
that. How can I fix it with out look line by line in my code.

Thanks,
Gustavo.






我们的.NET Memory Profiler为您提供有关所有

分配的callstack的信息,它还会告诉您哪些根引用正在保留实例。我认为它可以帮助您解决问题。可以在以下网址下载

试用版: http:// www。 scitech.se/memprofiler


致敬,

Andreas Suurkuusk

SciTech Software AB

" Franco Gustavo" < GF ***** @ inuntius.com> skrev i meddelandet

新闻:Ov ************** @ TK2MSFTNGP12.phx.gbl ...
Hi,

Our .NET Memory Profiler gives you information about the callstack of all
allocations, it also tells you which root references are keeping an instance
from being garbage collected. I think it will help you solve your problem. A
trial version can be downloaded at: http://www.scitech.se/memprofiler

Best regards,

Andreas Suurkuusk
SciTech Software AB
"Franco Gustavo" <gf*****@inuntius.com> skrev i meddelandet
news:Ov**************@TK2MSFTNGP12.phx.gbl...
全部一个,但我不知道哪一个!!
我尝试了其中一些像Borland和AQTime。

我的大问题是,我的申请是一个很大的应用程序,很多时候我有很多与对象关联的EventHandler,然后这个对象永远不会从内存中释放出来。
.Net的AQTime可以告诉我有多少EventHandler的引用对象
有。但它无法告诉我是谁创建了这个参考。

所以为了修复它是一个痛苦...因为我必须逐行看到
我的代码可能知道谁可以创建这个参考。

Borland到目前为止没有任何用处......昂贵并且没有提供任何调试,只是为了看到应用程序的性能那就是

然后问题是,有一些.Net探查器可以告诉我谁创建了对EventHandlers的引用?如果没有分析器到
那么做。如何在我的代码中逐行修复它。

谢谢,
Gustavo。
Hi, All

What''s is the best .net profiler for Debug an application. I have to buy one but I don''t know which one!!
I tried some of them like Borland and AQTime.

My big problem is, my application is a big application, and many times I
have many EventHandlers associated to an object, then this object never is
free from the memory.
AQTime for .Net can tell me how many references of EventHandler the object
has. But it can''t tell me who create this reference.

So for fix it is a pain in the a... because I have to see line by line in my code to may be know who can create this reference.

Borland so far is not usefull for nothing... Expensive and doesn''t provide
nothing for debug, just to see the application performace that''s it

Then the question is, there are some .Net profiler that can tell me who
create the references to the EventHandlers? if there are not profiler to do that. How can I fix it with out look line by line in my code.

Thanks,
Gustavo.


对于它的价值,我已经使用过Ants并且非常喜欢它。它很容易使用

并且包含有用的信息。
http://www.red-gate.com/code_profiling.htm

" Franco Gustavo" < GF ***** @ inuntius.com>在消息中写道

新闻:Ov ************** @ TK2MSFTNGP12.phx.gbl ...
For what it''s worth, I''ve used Ants and really like it. It''s easy to use
and packed with useful information.
http://www.red-gate.com/code_profiling.htm
"Franco Gustavo" <gf*****@inuntius.com> wrote in message
news:Ov**************@TK2MSFTNGP12.phx.gbl...
全部一个,但我不知道哪一个!!
我尝试了其中一些像Borland和AQTime。

我的大问题是,我的申请是一个很大的应用程序,很多时候我有很多与对象关联的EventHandler,然后这个对象永远不会从内存中释放出来。
.Net的AQTime可以告诉我有多少EventHandler的引用对象
有。但它无法告诉我是谁创建了这个参考。

所以为了修复它是一个痛苦...因为我必须逐行看到
我的代码可能知道谁可以创建这个参考。

Borland到目前为止没有任何用处......昂贵并且没有提供任何调试,只是为了看到应用程序的性能那就是

然后问题是,有一些.Net探查器可以告诉我谁创建了对EventHandlers的引用?如果没有分析器到
那么做。如何在我的代码中逐行修复它。

谢谢,
Gustavo。
Hi, All

What''s is the best .net profiler for Debug an application. I have to buy one but I don''t know which one!!
I tried some of them like Borland and AQTime.

My big problem is, my application is a big application, and many times I
have many EventHandlers associated to an object, then this object never is
free from the memory.
AQTime for .Net can tell me how many references of EventHandler the object
has. But it can''t tell me who create this reference.

So for fix it is a pain in the a... because I have to see line by line in my code to may be know who can create this reference.

Borland so far is not usefull for nothing... Expensive and doesn''t provide
nothing for debug, just to see the application performace that''s it

Then the question is, there are some .Net profiler that can tell me who
create the references to the EventHandlers? if there are not profiler to do that. How can I fix it with out look line by line in my code.

Thanks,
Gustavo.


这篇关于.Net Profiler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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