5

I have VS 2010 Ultimate. I have created empty win32 console solution and replaced it's cpp file with http://pastebin.com/EQJKJK6T I tried to perform CPU Sampling profiling. But for some reason I get the following messages

MessageBox:

Could not launch 'path to exe file'. Previous attempt to profile the application finished unsuccessfully. Please restart the application.

Output window:

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.
4

1 回答 1

0

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

我试过了:

但都没有奏效。

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

于 2014-09-25T14:08:46.957 回答