Partilhar via


How to: Terminate a Process 

This topic applies to:

Visual Studio Edition

Visual Basic

C#

C++

J#

Web Dev

Express Edition

No

No

Yes

No

No

Standard Edition

Yes

Yes

Yes

Yes

Yes

Pro/Team Edition

Yes

Yes

Yes

Yes

Yes

With the Processes window, you can terminate any attached process, using the following procedure.

If you want to stop debugging an attached process and leave the process running, use Detach Process instead.

NoteNote

The dialog boxes and menu commands you see might differ from those described in Help depending on your active settings or edition. To change your settings, choose Import and Export Settings on the Tools menu. For more information, see Visual Studio Settings.

To terminate an attached process

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

To terminate all attached process

  • On the Debug menu, click Terminate All.

See Also

Tasks

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

Other Resources

Attaching to Running Processes