문제

I have a WPF application that is targeting the .NET Framework 4.0 Client Profile.

When I run it from the CLR Profiler 2.0 (which runs with administrative rights), the application starts and runs normally, but the CLR Profiler does not show any information on it. When I hit 'Show Heap Now', it freezes for some time, and then displays the message 'There was no response from the application'. When the application terminates, it displays the 'profiler results', which are all '0' or 'Unknown'.

I'm working on Windows 7 x86 Professional

Is there a CLR profiler for .NET 4.0?

Any hints are appreciated

Thanks, Jonas

도움이 되었습니까?

해결책

This one worked for me

http://communistgames.blogspot.com/2010/10/using-nprof-011-and-clrprofiler-in-net.html

EDIT: Unfortunately, that link is dead, but now there is a CLR profiler for .NET 4:

https://www.microsoft.com/en-us/download/details.aspx?id=16273

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top