The CLR profiler I downloaded from here link text does not work for my app which is implemented using .NET 4.0. Is there a version for .NET 4.0? Thanks.
A profiler is a tool that monitors the execution of another application. A common language runtime (CLR) profiler is a dynamic link library (DLL) that consists of functions that receive messages from, and send messages to, the CLR by using the profiling API. The profiler DLL is loaded by the CLR at run time.
COR_ENABLE_PROFILING: The CLR connects to a profiler only if this environment variable exists and is set to 1. COR_PROFILER: If the COR_ENABLE_PROFILING check passes, the CLR connects to the profiler that has this CLSID or ProgID, which must have been stored previously in the registry.
. NET Framework is a run-time execution environment that manages apps that target .
UPDATE: The CLR Profiler for .NET Framework 4 is now available here.
I couldn't find the CLR Profiler for .NET 4.0, but you should be able to use the older version if you set the environment variable: COMPLUS_ProfAPI_ProfilerCompatibilitySetting
. For more information see this blog post.
Also note that as of .NET 4.0 the CLR outputs some more information to the Event Log to help you diagnose issues loading profilers. You can easily view these logs with the Event Viewer.
CLR Profile 4.0 can be downloaded here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=f4addc9d-be61-4ebc-90b2-5f50812c2037
it looks like the installer is 64bit only, but you can unpack it using 7z and the 32bit version is inside the package.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With