我有VS 2010 Ultimate。我创建了一个空的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.