Click here to Skip to main content
15,436,734 members
Articles / Desktop Programming / WPF
Posted 9 May 2013


4 bookmarked

Designer Debugging in WinRT

Rate me:
Please Sign up or sign in to vote.
5.00/5 (5 votes)
9 May 2013CPOL
Designer debugging in WinRT


Following are the steps to debug the Visual Studio designer for WinRT Projects.

  1. Open the WinRT Project that designer needs to debug:

  2. Note the XDesProc process id from the TaskManager as shown in the below image:

  3. Open the same solution in another window:

  4. Note the New XDesProc process id from the taskmanager that the designer process needs to debug:

  5. Go to Debug->Attach To Process in Visual Studio 2012 from the FirstSolution:

  6. Select the new XDesProc process from the Window:

  7. Before clicking Attach, it is important to change the Attach To ->Managed 4.0,4.5 from the Select Button:

  8. Boom! Your BreakPoints in the FirstSolution got hit:

Now you can play with the designer.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Written By
Software Developer
India India
.Net Control Developer
-Windows Phone

Comments and Discussions

GeneralMy vote of 5 Pin
ft21308549-May-13 16:06
Memberft21308549-May-13 16:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.