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 inc开发者_StackOverflowluding 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.
Yes, start another instance of Visual Studio. It is described in detail in this MSDN library article.
精彩评论