Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Editing C# while debugging

I know I've dealt with this issue before, but the settings to override this always seem to be changing.

I have a C# project in Visual Studio 2008. While I'm debugging, VS won't let me edit my code. I don't want to Edit and Continue - I just want to make changes for my next build. Edit and Continue is disabled. When I try to edit a file while debugging my project, I get a little message that the files are now Read-Only.

Anyone dealt with this recently in VS2K8?


1 Answers

Tools + Options, Debugging + Edit and Continue. Turn off the Enable checkbox. You can now edit the source code. You will get a warning when you continue to debug after you've made a change.

like image 99
Hans Passant Avatar answered Sep 15 '25 03:09

Hans Passant