Enabling Live XAML Debugging in Visual Studio

Enabling Live XAML Debugging in Visual Studio

Visual Studio 2015 provides lots of tooling supports for debugging and diagnostic. Previously we discussed about PerfTips – Easiest way to get Performance Information and Debugging Lambda Expression in Visual Studio 2015 . Even we also discussed about debugging live XAML.   Couple of days back I received some queries on live xaml debugging where reader asked why he is not able to use this feature ? and that’s turned out to be set to disabled.

While the default behavior of xaml debugging is set to enable and you can inspect the xaml elements as shown below screen shots; you can manually set it to enable or disable.

Must Read : Working with Live XAML in Windows Universal Apps and Visual Studio 2015

Inspect and Change XAML

Navigate to Tools –> Options –> Debugging –> General –> Enable UI Debugging Tools for XAML .  In case you are not able to inspect you xaml and not able to see it in Live property explorer you need to check it.

Enable UI Debugging Tools for XAML

With the option selected, the both xaml inspection and live visual tree work seamlessly for any xaml debugging.

Hope this helps !

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.

2 Comments to “Enabling Live XAML Debugging in Visual Studio”

Comments are closed.