Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS 2015 diagnostic tools failed unexpectedly when running multiple instances of visual studio

VS 2015

I've checked these questions before: 1 2

When debugging two or more solutions only first one will run Diagnostic Tools. Other ones will throw: enter image description here

Is there a way to run diagnostic tools in each instance of visual studio while debugging?

like image 227
Claudius Avatar asked Apr 13 '16 18:04

Claudius


2 Answers

I ran into this same issue today, and restarting VS didn't help either. I followed the logging from this question: Visual Studio 2015 diagnostic tools no longer working and didn't get anything helpful from there either.

What ultimately fixed it for me was ending the process named "StandardCollector.Service.exe." From the logs, I believe this is the process actually having the problem, and it doesn't close on its own when closing VS.

It only starts up when debugging, so perhaps it is easily orphaned somehow and then subsequent VS instances can't use it? Just closing and reopening VS while the same Collector process was running (after fixing the issue) seems to work fine though.

like image 151
John Neuhaus Avatar answered Nov 14 '22 21:11

John Neuhaus


After trying to kill various processes, restarting Visual Studio, and various things like that, I couldn't get diagnostics to work. Restarting the computer fixed the issue

like image 37
Zief Avatar answered Nov 14 '22 20:11

Zief