How to fix “Internal Diagnostics Hub Exception” in VS 2015 Update 1?

前端 未结 7 904
南笙
南笙 2020-12-01 16:04

I\'ve just updated to Visual Studio 2015 Update 1, and I\'m getting the error whenever I start debugging:

Internal Diagnostics Hub Exception. See log

7条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 16:31

    To enable the logs for the diagnostic tools, add the following registry keys

    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\DiagnosticsHub\LogLevel  
    HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0\DiagnosticsHub\LogDirectory
    

    For LogLevel you can use one of the following strings "All", "Info", "Debug", "Warning", "Error" (In your case I would use All to better see what is happening). As for LogDirectory it is a directory of your choice "C:\Logs". When your done, don't forget to delete these keys as the diagnostic tools logging is pretty system intensive.

    We try to only prompt message boxes in unexpected cases (normal errors are only shown as an error in the tool window and never through a message box), so this sounds like an issue with a 3rd party app or some weird upgrade issue. You should be able to search for "Error ---" in the logs and see what the root cause is. Feel free to post the error here or PM me and I would be happy to help (Note: I work on the Diagnostic Tools team)

    Feel free to also post the issue at: https://connect.microsoft.com/ Each issue that is received there gets turned into a bug and assigned to the corresponding team.

提交回复
热议问题