Otiel
Otiel

Reputation: 18743

Stop debugging one project

I regularly debug several projects contained in one solution using the same Visual Studio instance. For that, I use the "Debug"->"Start new instance" menu on each project I want to debug:

Screenshot

When using the menu "Debug"->"Stop debugging", all projects debug sessions are stopped.

Screenshot

How can I stop the debug session of one project only?

Upvotes: 17

Views: 1532

Answers (1)

Justin
Justin

Reputation: 86789

Bring up the Processes window (normally found under Debug -> Windows -> Processes), right click on the process you wish to stop debugging and slect either "Detach Process" (to stop debugging and leave the process running) or "Terminate Process" (to terminate the process)

Screenshot of the Processes window in Visual Studio

(This screenshot is of Visual Studio 2012, however the dialog is very similar in previous versions of Visual Studio)

Upvotes: 17

Related Questions