Dan Tao
Dan Tao

Reputation: 128447

Enable debugging in design mode in Visual Studio

Is there a way to enable debugging from within the Windows Forms Designer in Visual Studio (any version, up to and including Visual Studio 2010)?

What I mean is, say I have some custom user control, and this control has certain validation that it performs when I set a particular property. I'd like to be able to set a breakpoint somewhere within that code, and step through it to see what happens when I set the property from the designer.

Upvotes: 3

Views: 2142

Answers (1)

Hans Passant
Hans Passant

Reputation: 942518

Yes, start another instance of Visual Studio. It is described in detail in this MSDN library article.

Upvotes: 3

Related Questions