Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 547
Otiel Avatar asked May 20 '13 08:05

Otiel


People also ask

How do I stop a program debugging?

Right-click and select Terminate from the pop-up menu. Alternatively, you can select Terminate and Remove to terminate the session and remove it from the Debug view. Click the Debug view Terminate button.

How do I detach the current debugger in Visual Studio?

Detaching the Debugger When debugging is complete, you can detach the debugger from the process by clicking Debug, and then clicking Stop Debugging in Visual Studio.


1 Answers

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)

like image 130
Justin Avatar answered Nov 06 '22 10:11

Justin