VS2015: Diagnostic tools failed unexpectedly and no “Diagnostic Hub” in output window

房东的猫 提交于 2019-12-23 07:27:46

问题


when starting up an application i always get an error in the "Diagnostic Tools" Window saying:

The diagnostic tools failed unexpectedly. The Diagnostics Hub output in the Output window may contain additional information.

I already found a solution for VS2015 RTM but this didn't worked for me.

I also checked the options in visual studio and the diagnostic tool is enabled during debugging. And i also unchecked the unmanaged code options, like in this post described.

The real strange thing is, that i even not having a "Diagnostics Hub" entry in the output window!??!

Does anybody know how to solve this issue?


回答1:


Had exactly the same issue today. Forgot that I disabled Intellitrace a few months ago.

Options>IntelliTrace>Enable Intellitrace

Restarted Visual Studio. Voila.




回答2:


Try to modify the Environment Variable TEMP as following rules and reopen Visual Studio. That works for me. My IDE is Visual Studio Enterprise 2015 Update 3.

It must only one path in TEMP. For example,

Fail:%USERPROFILE%\AppData\Local\Temp;C:\OTHER_PATH
Fail: %USERPROFILE%\AppData\Local\Temp\;C:\OTHER_PATH
Pass: %USERPROFILE%\AppData\Local\Temp



来源:https://stackoverflow.com/questions/33941760/vs2015-diagnostic-tools-failed-unexpectedly-and-no-diagnostic-hub-in-output-w

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!