When using the "Attach To Process" feature in Visual Studio 2008, what is the difference between "detach all" and "stop debugging"?
Stop Debugging terminates the process you are debugging if the program was launched from Visual Studio.
From there, locate Web Projects from the Projects and Solutions navigation tree. Now untick the option box that says "Stop debugger when browser window is closed, close browser window when debugger stops."
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
Go to Project Properties > Debug > Uncheck "Launch Browser" > Save. Save this answer.
"Detach All" will leave the process running "Stop Debugging" will (typically) kill local processes. It should be noted that they pretty much work the same if you are using remote debugging.
Detach Debugger...
"Detaching from a process does not terminate the process. The process continues running on its host computer even though it is no longer attached to the debugger." -MSDN
Stop Debugging...
"Stop Debugging terminates the process you are debugging if the program was launched from Visual Studio. If you attached to the process, instead of launching it from Visual Studio, the process continues running. If you want to terminate attached processes, you can terminate a single process from the Processes window or terminate all attached process with the Terminate All command." - MSDN
If you choose detach all even when you stop the debugging from VS2008 process will still run. If you do not, if you stop debugging from VS2008 it will stop execution of process you attached to.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With