How to Debug XAML Parsing Errors in Silverlight?
Posted
by Nick Gotch
on Stack Overflow
See other posts from Stack Overflow
or by Nick Gotch
Published on 2010-03-05T19:37:56Z
Indexed on
2010/04/11
5:03 UTC
Read the original article
Hit count: 540
I run into the following issue semi-regularly: I make changes to XAML or some resources used by it and when I go to load up the Silverlight project in debug mode it only gets as far as the spinning Silverlight-loading animation.
I've tried attaching the VS08 debugger to the process but it doesn't do anything at this point (works fine once I'm in the Silverlight but not before.)
From previous experience I've noticed this happens when there're problems with the XAML or the resources in it but my only solution so far has been to dissect the code line-by-line until I spot the problem.
Is there an easy way to debug/diagnose these situations?
UPDATE
I found this question with some help, but it still doesn't provide a good way to debug these types of issues.
© Stack Overflow or respective owner