views:

29

answers:

1

Is there any way to enable debugging from within the Windows Forms Designer in Visual Studio (any version, up to and including 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.

+3  A: 

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

Hans Passant