Reputation: 4579
I'm sure this has been asked before, but I searched and couldn't find an answer.
Is there any way I can enable editing of Forms while debugging in Visual Studio 2008?
Currently, when I'm debugging, all of the controls and properties are locked to prevent editing. This is very annoying when I'm debugging and trying to adjust the forms.
Is there a setting I can change somewhere to allow this?
Upvotes: 0
Views: 269
Reputation: 942508
It is possible. Tools + Options, Debugging, Edit and Continue. Uncheck the Enable option. That also allows you to edit the source code without having a breakpoint active. But of course, your changes won't have any effect until you stop and rebuild.
Upvotes: 2
Reputation: 51927
You may be able to use two instances of visual-studio, and do the edit in the 2nd instance – however try to avoid having a form open for editing in more than one instance of visual-studio.
Upvotes: 1
Reputation: 81700
No. All the designer state is compiled into code when you hit F5. So it is not possible to provide change in debugging.
Upvotes: 6