It can be difficult to debug exceptions in a Silverlight applications in Visual Studio 2008 in certain scenarios at present. If you’re having trouble tracking down where an exception is occurring in your Silverlight application and find it awkward dealing with the yellow exclamation :
Don’t forget you’ve got the Application events to help you out. An event handler for the UnhandledException event of the Application class is wired up by default for new Silverlight Applications. If you set a breakpoint here you can get a call stack back to where the problem is occurring :
