none
[VS][XAML][UWP]Debugging & Attaching to the Visual Studio 2017 XAML Designer

    Question

  • I am writing a UWP app, and receiving an error in the Visual Studio 2017 XAML Designer. I have seen many places that suggest using a second instance of Visual Studio 2017 to attach the debugger to the first instance. Most of these tell me to attach to XDesProc, which is not available in the list of processes (I think XDesProc is from a previous version of Visual Studio). But if I try attaching to devenv (which is the only process in the list that looked like it was even a possibility), I cannot get it to work (the debugger runs, but it doesn't give me any messages, so it isn't helping me). The error does not appear until I move the cursor over the Designer (I don't know if this is relevant or not). I have also seen sites suggesting that I add code that uses

    DesignMode.DesignModeEnabled

    But until I know where in my code the problem is I'm not sure how this will help. How do I debug the Visual Studio 2017 Designer? Is this what I should be doing for errors in the designer? Help.


    Nathan Sokalski njsokalski@hotmail.com http://www.nathansokalski.com/

    Sunday, November 25, 2018 3:31 PM

All replies

  • Hi Nathan,

    Welcome to the MSDN forum.

    Refer to your description, it seems your issue is about the debug and our forum is to discuss the VS IDE, I will help you move this thread to the appropriate forum to seek for a more professional support, thank you for your understanding.

    Best regards,

    Sara


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, November 26, 2018 7:04 AM