Reputation: 1819
When I get a run-time error, VS normally points me to the line where error occurred.
But I cannot edit anything until the program closes. And VS doesn't close it for me.
Instead I have to manually end it in Task Manager (What I have been doing so far)
Now, there must be a more convenient way of closing to program, and getting back to work,
without the use of Task Manager to do it.
How?
Upvotes: 0
Views: 1041
Reputation: 979
There are a couple of things that you can do to end the program. One common keyboard shortcut is Shift-F5 (stop debugging).
The other is the Stop Debugging button on the VS debugging toolbar.
Upvotes: 4
Reputation:
There's a stop button (green square) on the debug toolbar. That will halt your program (in 99% of time).
The reason it is not stopped automatically, is to allow inspection of your failed program state. But that kind of speaks for itself.
Edit: (oh, sorry it's blue as Rahul's screencapture points out)
Upvotes: 3