Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I don't agree with others that it's not possible to debug XAML, but it's true that there are no powerful tools available for this. </p> <p>As Mark says in this post - <a href="http://markegilbert.wordpress.com/2008/03/15/debugging-xaml/" rel="nofollow noreferrer">http://markegilbert.wordpress.com/2008/03/15/debugging-xaml/</a></p> <blockquote> <p>So, the simple answer is yes, you can debug problems with XAML. The longer, more qualified answer is that while it’s possible, the support isn’t terribly robust yet but should improve with newer dev environments (Visual Studio, Expression Blend, etc.).</p> </blockquote> <p>Tips on how to debug and learn about WPF(Josh Smith): <a href="http://joshsmithonwpf.wordpress.com/2007/03/29/tips-on-how-to-debug-and-learn-about-wpf/" rel="nofollow noreferrer">http://joshsmithonwpf.wordpress.com/2007/03/29/tips-on-how-to-debug-and-learn-about-wpf/</a></p> <p><a href="http://www.u2u.info/Blogs/Peter/Lists/Posts/Post.aspx?ID=183" rel="nofollow noreferrer">Get line numbers of XAML issues (Peter Himschoot)</a> | <a href="http://web.archive.org/web/20100731101640/http://www.u2u.info/Blogs/Peter/Lists/Posts/Post.aspx?ID=183" rel="nofollow noreferrer">Wayback Link</a>:</p> <blockquote> <p>Simply add this to your project file:</p> <blockquote> <pre><code>&lt;!-- under the &lt;PropertyGroup&gt; tag --&gt; &lt;XamlDebuggingInformation&gt;true&lt;/XamlDebuggingInformation&gt; </code></pre> <p>Now we at least get line number information on the problem :)</p> </blockquote> </blockquote> <p><a href="http://rrelyea.spaces.live.com/Blog/cns!167AD7A5AB58D5FE!1625.entry" rel="nofollow noreferrer">More descriptive XAML exception details (Rob Relyea)</a> </p> <p><a href="http://geekswithblogs.net/lbugnion/archive/2007/03/14/108728.aspx" rel="nofollow noreferrer">More on XamlParseException (Laurent Bugnion)</a></p> <p><a href="http://blogs.infosupport.com/ernow/archive/2006/02/22/3899.aspx" rel="nofollow noreferrer">XAML Runtime Parsing Exceptions (c/o Erno de Weerd)</a></p> <p><a href="http://blogs.devsource.com/devlife/content/silverlight/debugging_dynamic_xaml_in_silverlight_1.html" rel="nofollow noreferrer">Debugging Dynamic XAML in Silverlight (Julia Lerman)</a></p> <p><a href="http://www.wpfmentor.com/2009/01/how-to-debug-triggers-using-trigger.html" rel="nofollow noreferrer">How to debug triggers using Trigger-Tracing(Dan Lamping)</a></p> <p>Just use google/StackOverflow to know how to debug specific XAML issues.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload