all groups > visual studio .net debugging > january 2004 >
You're in the

visual studio .net debugging

group:

How to use and develop CLR profiler?


How to use and develop CLR profiler? KPH
1/11/2004 11:46:39 PM
visual studio .net debugging:
Dear,

I download the CLR profiler of .NET, is there someone
ever use it?

Please tell me how can it help me debug my program. I got
trobles about reallocate memory in .NET.

Can someone introduce me debugger tools use for debug the
memory allocate and reallocate?

Thanks,
RE: How to use and develop CLR profiler? timhuang NO[at]SPAM online.microsoft.com
1/12/2004 12:22:04 PM
Hello,

Thanks for your post. I strongly recommend you view the following MSDN TV
which demonstrates how to use CLR Profiler:

Profiling Managed Code with the CLR Profiler
http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20030729CLRGN/
manifest.xml

To identify memory problems in your .NET program, you can also use
Allocation Profiler, and I believe the articls are helpful:
I suggest that you can use Allocation Profiler to
view how memory is being used within your .NET app.

GotDotNet User Sample: Allocation Profiler
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=36a3e
666-6877-4c26-b62d-bfd7cb3154ac

Debugging Memory Problems (Production Debugging for .NET Framework
Applications)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnbda/html/
DBGch02.asp

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
RE: How to use and develop CLR profiler? KPH
1/13/2004 7:24:14 PM
Dear,

This is very helpful for me.

But I suspect about how ot checking unmanaged resource of
my app, is that the CLR Profiler do this job.

If not, how can I check managed and unmanaged resource at
the same time.

Thanks,
KPH

[quoted text, click to view]
RE: How to use and develop CLR profiler? timhuang NO[at]SPAM online.microsoft.com
1/15/2004 11:33:36 AM
Hello,

[quoted text, click to view]
that the CLR Profiler do this job.

CLR Profiler can only check managed resource. Windows Performance Monitor
is able to check bother managed and unmanaged resources.

HOW TO: Manage Performance Monitor Counters in Windows 2000
http://support.microsoft.com/?id=302521

If you want to troubleshoot unmanaged memory issues, I recommend you use
the tool Umdh.exe. Please refer to the KB article below:

Umdhtools.exe: How to Use Umdh.exe to Find Memory Leaks
http://support.microsoft.com/?id=268343

I look forward to your response.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button