[英]Cannot use diagnostic tools in visual studio 2019
When I try to debug my program and use the Diagnostic Tools window in Visual Studio 2019, I am presented with the following error:当我尝试调试我的程序并使用 Visual Studio 2019 中的“诊断工具”窗口时,出现以下错误:
This is the message from the Diagnostics Hub Output:这是来自诊断中心输出的消息:
The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
Apparently, the problem was that the Visual Studio Standard Collector Service 150 was disabled.显然,问题在于Visual Studio 标准收集器服务 150被禁用。 After re-enabling it, that problem has disappeared.
重新启用后,这个问题就消失了。 To re-enable the service, I had to do the following:
要重新启用该服务,我必须执行以下操作:
⊞
+ R
⊞
+ R
services.msc
services.msc
OK
OK
Start
Start
You try remove Diagnostics package and reinstall it.您尝试删除 Diagnostics 包并重新安装它。 'Visual Studio Installer' > Modify > Individual components > uncheck ".net profiling tools, C++ profiling tools, Javascript diagnostics" => Modify.
'Visual Studio 安装程序' > 修改 > 单个组件 > 取消选中“.net 分析工具、C++ 分析工具、Javascript 诊断”=> 修改。 And 'check' again when it complete work with me
当它完成与我的工作时再次“检查”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.