Condividi tramite


Break Multiple Processes

Keyboard:  CTRL + ALT + BREAK
Menu:  Tools -> Options -> Debugging -> General; Debug -> Break All
Command:  Debug.BreakAll
Versions:  2008,2010
Published:  5/11/2010
Code:  vstipDebug0027

 

image

 

By default when you use Debug -> Break All it will break all processes that are currently running.  So, for example, if I have two applications running at the same time as part of my solution it will stop them both:

image

 

You can change this behavior by going to Tools -> Options -> Debugging -> General and deselecting the "Break all processes when one process breaks" option:

image

 

Now only the process you want to break will stop when you break and the other one will keep running.  This is very useful for stopping the client but letting the server run while you debug.