Starr Duskk
asked on
Visual Studio: how to get stop debug to stop execution immediately
This has occurred with all Visual Studio versions, but I happen to be using 2012 now.
I will be stepping through in Debug mode and I notice the next line is going to do something I don't want. So I select to "stop debug."
I want it to stop execution immediately. However, every single time I select "stop debug" it totally runs through and executes every single thing and then quits.
So if I saw that it was going to create a record I didn't want, that record is still created. If it was going to delete the wrong thing, that deletion still occurs. Even if I select to stop debug before it executed that next line.
Is there a way to stop execution immediately so it doesn't continue to execute?
thanks.
I will be stepping through in Debug mode and I notice the next line is going to do something I don't want. So I select to "stop debug."
I want it to stop execution immediately. However, every single time I select "stop debug" it totally runs through and executes every single thing and then quits.
So if I saw that it was going to create a record I didn't want, that record is still created. If it was going to delete the wrong thing, that deletion still occurs. Even if I select to stop debug before it executed that next line.
Is there a way to stop execution immediately so it doesn't continue to execute?
thanks.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER