This project has moved and is read-only. For the latest updates, please go here.

Attach Process in CLR Profile.

Apr 10, 2013 at 7:18 AM

Could you please explain me the attached process.

I am trying to attached process via PID in CLRProfiler4.5. but this is throwing exception:

CLRProfiler Error

Profiler initialization failed because the target process is running with concurrent GC enabled. Either
1) turn off concurrent GC in the application's configuration file before launching the application, or
2) simply start the application from CLRProfiler rather than trying to attach CLRProfiler after the application has already started.
Apr 11, 2013 at 6:48 PM
Hi. This an error you can get if you are profiling an app that uses .NET 4.0, as we did not have the ability to attach to an app in concurrent GC mode (which is the default). However, this limitation was removed in .NET 4.5. Be sure that you've upgraded your .NET installation to 4.5, and that you do not have an old copy of CLRProfiler still on your machine anywhere.