无法启动Visual Studio Profiler [英] can't start visual studio profiler
问题描述
我有VS 2010 Ultimate.我创建了空的win32控制台解决方案,并用 http://pastebin.com/EQJKJK6T 替换了它的cpp文件执行CPU采样分析.但是由于某种原因,我收到以下消息
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:
MessageBox:
无法启动"exe文件路径".先前尝试剖析 申请未成功完成.请重新启动应用程序.
Could not launch 'path to exe file'. Previous attempt to profile the application finished unsuccessfully. Please restart the application.
输出窗口:
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.
推荐答案
我遇到了这个问题,但奇怪的是,它仅影响了一个Visual Studio解决方案.将探查器与其他Visual Studio解决方案一起使用可以很好地工作.
I had this issue, yet bizarrely it only affected one Visual Studio solution. Using the profiler with another Visual Studio solution worked fine.
我尝试过:
- 禁用赛门铁克
- 卸载VMware Player(如上所述)
但都不起作用.
In the end I amended the registry, setting HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant\Start
to 4
and rebooted, it then started working.
这篇关于无法启动Visual Studio Profiler的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!