visual-studio - 无法启动 Visual Studio Profiler

标签 visual-studio profiler vsperfmon

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

消息框:

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 解决方案一起使用效果很好。

我试过:

  • disabling Symantec
  • 卸载 VMware Player(如上所述)

  • 但都没有奏效。

    到底我amended the registry , 设置 HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SysPlant\Start4并重新启动,然后它开始工作。

    关于visual-studio - 无法启动 Visual Studio Profiler,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4524903/

    相关文章:

    c++ - 从链接中删除库模块

    visual-studio - VS2005 和 VSS。 .exe、.dll、pdb、.resource 和生成的 .xml 文件是否应该放入 VSS 中?

    python-3.x - 监控异步事件循环

    profiler - JMH 的 DTraceAsmProfiler 在 Mac 上失败并显示 '[sudo: a password is required'

    c# - 我需要测试技巧

    visual-studio - 在 Visual Studio 中禁用或修复 #ifdef-sensitive 着色和智能感知

    Java动态列出分配的对象

    c++ - VSPerf VS2010 和其他分析工具没有获取 pdb

    c++ - 为什么 vsperfmon 告诉我被调用函数的包含时间比根函数的包含时间长?