Take the 2-minute tour ×

It's easy to stop a program that is being debugged(Debug -> Start Debugging) in visual studio, but is there a way to stop a program that was started without debugging(Debug -> Start Without Debugging)?

Update: From within visual studio.

share|improve this question
The requirement to do it from VS is not very productive. Task Manager is very good at killing processes, always handy on my taskbar. And of course avoid pressing Ctrl+F5 until your program has progressed to a point where you can at least stop it in a simple way. There's very little point in running your program without a debugger attached anyway. –  Hans Passant May 30 '13 at 21:20
I'd prefer not to do it from task manager because it can be difficult to identify which process you want to kill, and it breaks my train of thought. –  Jesse May 30 '13 at 21:38
add comment

1 Answer

up vote 1 down vote accepted

No. "Start Without Debugging" spawns a new, independent process. Even shutting down Visual Studio won't terminate it.

Unless your project is a web project and uses the ASP.NET Development Server. That one VS actually shuts down on exit.

share|improve this answer
At least under my configuration, Start without debugging spawned iisexpress hosting my asp.net website, which I was able to shut down from a new system tray icon. –  Jesse May 30 '13 at 21:32
add comment

Your Answer


