How to: Detach a ProcessĀ 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Web Dev

Express Edition

No

No

No

No

No

Standard Edition

Yes

Yes

Yes

Yes

Yes

Pro/Team Edition

Yes

Yes

Yes

Yes

Yes

With the Processes window, you can detach from any attached process using the procedure given below. You can also detach all attached processes. For more information, see How to: Detach All Processes.

Detaching a process disconnects the debugger from the running process. It does not end the running process. If you want to end the process, you must terminate the process rather than merely detaching. For more information, see How to: Terminate a Process.

NoteNote

If you are trying to detach from a native process on Windows 2000, you must be running the Visual Studio Debugger Proxy (dbgproxy) service. For more information, see Installing the Visual Studio Debugger Proxy Service.

To detach a process

  • In the Processes window, right-click on the name of the process you want to detach, and on the shortcut menu, click Detach Process.

See Also

Tasks

How to: Terminate a Process
How to: Break a Process
How to: Continue a Process
How to: Use the Processes Window

Other Resources

Attaching to Running Processes