The Visual Studio performance and coverage logging engine is already running on the computer

Published Wed, Apr 1 2009 10:38 AM

Something really annoying happens in Visual Studio when I debug my tests. No tests run, because of a test run error:

Code coverage collection error: The Visual Studio performance and coverage logging engine is already running on the computer. Therefore, the test run cannot continue. Close the pending performance or code coverage session and then rerun the tests.

I open up the Task Manager and there is VSPerfMon.exe which is causing the problem. End the process and everything is fine again. But why won’t it shut down?

Well the reason for that  is that I stop debugging my tests while they are still executing. Let them run and fail and there is no problem.

Leave a Comment

(required) 
(required) 
(optional)
(required) 
Please add 5 and 6 and type the answer here: