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

Claudius picture Claudius · Apr 13, 2016 · Viewed 8.7k times · Source

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?

Answer

John Neuhaus picture John Neuhaus · Apr 6, 2017

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.