I suggest you ...

Add ability to debug xaml design mode issues

This suggestion is migrated to Developer Community. Please use below link to view the current status.
https://developercommunity.visualstudio.com/content/idea/351260/add-ability-to-debug-xaml-design-mode-issues.html
If you develop an app with blendability in mind (support of designer mode and designer data) it is sometimes very hard to find issues that occur in your code.
It will be very useful to be able to run debug against "design mode" with breakpoints and so on.

75 votes
Vote
Sign in
(thinking…)
Password icon
Signed in as (Sign out)
You have left! (?) (thinking…)
Андрій Чебукін shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

Thanks for your feedback!

This is an idea that we have been actively considering on our team as well. We would love to hear more thoughts from the community around exactly how they would like to see this experience work. For example, should Blend always have a mode where you are running the designer under a Debug mode, or should you be prompted when a particular crash or issue happens, etc.

Thanks!
Unni

Program Manager,
Visual Studio

2 comments

Sign in
(thinking…)
Password icon
Signed in as (Sign out)
Submitting...
  • Pedro commented  ·   ·  Flag as inappropriate

    At least show a full stack trace to the issue... You normally see short messages like:
    pointing to the decorated text in the xaml designer only shows e.g. "The method or operation is not implemented" for a thrown NotImplementedException.

  • Ben Wallis commented  ·   ·  Flag as inappropriate

    This has been a desperately needed feature in Visual Studio for a long time now, and it's surprising that it hasn't been addressed yet given how much of an impact it has on the usability of design time data contexts. Having to manually attach a debugger to the XDesProc process just to catch a typo in your design time View Model class is pretty ridiculous.

Feedback and Knowledge Base