I'm trying to use the profiler within VS2010 to profile a Silverlight application, specifically using CPU Sampling (as this is the only type currently supported for Silverlight). My problem is that when I try to profile the application, I get the error:
Functionality needed by the profiler has been intercepted by another application. This is frequently caused by security software installed on the box. Profiling cannot continue.
I tried a resolution suggested on the MSDN forums (http://social.msdn.microsoft.com/Forums/en-US/vstsprofiler/thread/85ebadf5-704e-4d1a-844a-be62a904e65a/) suggesting the following:
Using regedit, set the following registry value to 4:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant]
"Start"=dword:00000004
However, this registry key didn't even exist. I created it and restarted, but nothing changed. I don't have corporate permission to disable antivirus, but going by the MSDN post, that wouldn't have mattered.