Click here to Skip to main content
15,860,844 members
Articles / Desktop Programming / WPF
Tip/Trick

Designer Debugging in WinRT

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

Introduction

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.

License

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
-WPF
-Silverlight
-WinRT
-Windows Phone
http://www.vinoth-kumar.com

Comments and Discussions

 
GeneralMy vote of 5 Pin
ft21308549-May-13 16:06
ft21308549-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.