views:

55

answers:

1

I am debugging an ASP.Net C# application in Visual Studio 2010, the application is running and execution is currently stopped at a breakpoint. How can I stop the page execution without "Terminate All" or killing the debugging process altogether, similar to what would happen if an unhandled exception was thrown? The "Break All Cntl+Alt+Break" option is grayed out in the Debug menu. I want to stop the app from running but not have to go through a compile/start again.

EDIT: I want execution to stop, not break, so that the page finishes loading and I don't continue running the application from the breakpoint forward.

I've looked through the Breakpoints panel, the Debug menu and have right clicked all over but still haven't found the right option.

Thanks in advance.

A: 

Why not set another breakpoint where you want it to stop at?

You can put your cursor on a line and hit crtl+F10 to break execution at that line.

amurra
I don't want a to break execution such as would occur at a breakpoint, I want the execution to stop (but I don't want to kill off the running processes).
Mark A
That's what a breakpoint does, it stops the execution without killing the process. Do your breakpoints kill your process?
amurra
Yes, I want to stop execution but want to kick out of the debugging process too.
Mark A