How to debug Visual Studio 2012 instance design-time

前端 未结 3 894
滥情空心
滥情空心 2020-12-31 07:03

I\'m developing a WPF MarkupExtension and encountered errors during design time. With the previous version of Visual Studio 2010 it was possible to start a second instance o

3条回答
  •  迷失自我
    2020-12-31 07:25

    The process is called XDesProc, and it is created with each new Preview Window. Therefor: to debug a preview window, open a second instance of Visual Studio 2012 with the same solution, set your breakpoints and attach to XDesProc. It's recommended to have only one preview window open to attach to the right process. Otherwise use Process Explorer to find the correct process.

提交回复
热议问题