My question is somewhat similar to this "How to stop debugging (or detach process) without stopping the process?"
but i want to detach from one process.
for instance, I have a windows form app which i also attach to a windows service. I want to detach from only service (detach all will remove debugging from all executions and hence i won't be able to debug other application).
P.S: If possible please mention for visual studio 2008 and 2010.
When debugging is complete, you can detach the debugger from the process by clicking Debug, and then clicking Stop Debugging in Visual Studio.
Just Delete the . vscode file from the directory you are working in and reopen the window the debugger will be gone.
To change the startup project, in Solution Explorer, right-click a different project and select Set as StartUp Project. To start debugging a project from Solution Explorer without making it the startup project, right-click the project and select Debug > Start new instance or Step into new instance.
To end a debugging session in Microsoft Visual Studio, from the Debug menu, choose Stop Debugging.
Thank you. Visual Studio can debug a solution that has several processes. You can start and switch between processes, break, continue, and step through source, stop debugging, and end or detach from individual processes. When more than one project in a Visual Studio solution can run independently, you can select which project the debugger starts.
P.S: If possible please mention for visual studio 2008 and 2010. Show activity on this post. In the Processes window (Debug -> Windows -> Processes), right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.
Open the Processes window (Debug->Windows->Processes), right-click the process, select "Detach Process". Show activity on this post. You cannot detach a debugger from a process if you are debugging in mixed mode.
The process that was started in Visual Studio ends, while the process you attached to keeps running. To control the way that Stop Debugging affects an individual process, in the Processes window, right-click a process, and then select or clear the Detach when debugging stopped check box.
In the Processes window (Debug -> Windows -> Processes), right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.
Just wanted to share that the shortcut key combo (in VS2013) is Ctrl+Alt+Z to bring up the Process window. The window will only pop up if there is at least one process attached.
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