Visual Studio 2022诊断工具总是显示“尚未收集数据”。
Visual Studio 2022社区中的诊断工具已停止工作。它显示它正在录制CPU配置文件,但是每当我暂停程序以查看结果时,工具说“没有收集数据”。
它在某一时刻工作,据我所知,我没有更改任何内容,如果我进入过滤器下拉菜单,则显示了所有内容,除了选择“隐藏本机代码”之外。
我该如何解决?
The diagnostic tools in Visual Studio 2022 Community have stopped working. It shows it's recording the CPU profile but whenever I pause the program to see the results, the tools say "There is no data collected."
It was working at one point, and as far as I'm aware, I didn't change anything and if I go into the filter drop-down menu it shows everything except "Hide native code" is selected.
How can I fix this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
就我而言,这是由于服务的“ Visual Studio Collector Service 150”被停止或禁用,因此不运行。一旦启用服务并重新运行“调试”,诊断工具似乎再次起作用。
In my case it happened due to service 'Visual Studio Collector Service 150" being stopped, or disabled, and therefore, not running. Once you enable the service, and re-run 'debug', diagnostic tools seem to be working, again.
我今天遇到了这个问题。将Visual Studio 2022更新为最新版本后,诊断工具已恢复,现在正常运行。更新过程似乎基本上重新安装了VS,我认为它是从其意外状态重置VS的。
I encountered this issue today. The Diagnostic Tools have been restored and are now functioning properly after updating Visual Studio 2022 to the latest version. The update process appeared to essentially reinstall VS, which I believe reset the VS from its unexpected state.
几个原因而发生的
main(..)
函数输入点要开始。This could happen for a few reasons
main(..)
function entry point to start.