无法启动visual studio profiler

mic*_*nko 5 profiler visual-studio vsperfmon

我有VS 2010旗舰版.我创建了空的win32控制台解决方案并用http://pastebin.com/EQJKJK6T替换了它的cpp文件我试图执行CPU采样分析.但由于某种原因,我得到以下消息

消息框:

无法启动'exe文件的路径'.以前尝试分析应用程序的尝试未成功完成.请重启应用程序.

输出窗口:

Profiling started.
Warning VSP2355: Some Windows counters will not be collected.  Without this data, some performance rules may not fire.
Profiling process ID 4368 (test).
Process ID 4368 has exited.
Data written to e:\projects\test\test101224.vsp.
Profiling finished.
PRF0025: No data was collected. 
Profiling complete.
Run Code Online (Sandbox Code Playgroud)

Sha*_*rpC 0

我遇到了这个问题,但奇怪的是它只影响一个 Visual Studio 解决方案。将探查器与另一个 Visual Studio 解决方案一起使用效果很好。

我试过:

但都不起作用。

最后我修改了注册表,设置HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant\Start4并重新启动,然后它就开始工作了。