Avalanchis
Avalanchis

Reputation: 4579

How can I enable forms editing while debugging?

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

Answers (4)

Hans Passant
Hans Passant

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

Ian Ringrose
Ian Ringrose

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

Aliostad
Aliostad

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

Pieter van Ginkel
Pieter van Ginkel

Reputation: 29640

No, this is not possible.

Upvotes: 1

Related Questions