Enabling Live XAML Debugging in Visual Studio

By | February 5, 2016

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 !

2 thoughts on “Enabling Live XAML Debugging in Visual Studio

  1. Pingback: Dew Drop – February 8, 2016 (#2183) | Morning Dew

  2. Pingback: Visual Studio – Developer Top Ten for Feb 15th, 2016 - Dmitry Lyalin

Comments are closed.