CLR V4: Profiler Attach Basics With Sample Code

A new feature in CLR V4 is the ability to attach a profiler to a process after that process has already started.  The usefulness of this is fairly obvious to anyone who’s ever attached a debugger to a running-process: It’s helpful when diagnosing hard-to-reproduce problems, and particularly useful when encountering issues in production. Please note! …

2