gpt4 book ai didi

visual-studio - 无法启动 Visual Studio Profiler

转载 作者:行者123 更新时间:2023-12-03 17:59:32 25 4
gpt4 key购买 nike

我有 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/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com