I am working on an ASP.NET project. When I am debugging, I often want to switch back from my browser to Visual Studio (2008) and edit some code. Visual Studio then won't let me edit the code, unless I explicitly quit debugging first.
Is there any way to configure Visual Studio such that is automatically stops debugging and allow me to edit the code, or do I have to stop it manually each and every time?
Disabling Edit and Continue does allow me to edit the code, but this does not force VS to stop debugging...
A work around, that will allow you to edit your code while debugging
In case vs 2012
go to Tools -> Debugging -> Edit and Continue
uncheck Enable Edit and Continue, and don't forget to rebuild/redebug after editing
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With