August 26, 2013

Debugging WPF Controls at Design Time

Question:
- How to debug Visual Studio 2012 instance design-time
- Debug at Design Time in WPF
- WPF Debugging Design-Time Exceptions
- How to debug in design time
- Debugging a control at design time in ...
- Test DesignerProperties.GetIsInDesignMode in Design mode
- I want stop code in code under GetIsInDesignMode ...

Solution:
OK, Step with me with open eyes, It's so easy and fun
- Open another empty VS (we called NEW)
- In NEW visual studio go to Attach to Process...
- Find and select XDesProc.exe and click on Attach button
- Back to main VS and go to a xaml (UI) and do a somethings ;-)
when the somethings change you can find it in NEW visual studio.
It's so easy, yeap, Take enjoy :)


No comments: