Troubleshooting WPF (Debugging WPF)
This article I came across while googling for the best way to debug bindings in XAML. I am just reproducing just in case the original link gets broken. Introduction Windows Presentation Foundation (WPF) is a joy to develop rich user experiences with. Animations, bindings, reskinnable codeless interfaces, all backed up with traditional .Net programming all make for a very rapid development cycle. However, when something goes wrong in that autogenerated super-sexy front-end, it is not always clear where the problem is. This article will cover some of the methods for analyzing your WPF application, troubleshooting issues, and debugging seemingly obscure errors. Binding Errors When an error occurs in the binding framework, the notification is usually "silent", in that is doesn't pop up an error dialog to the user. The error is instead displayed in the Output Window of Visual Studio. Althoug...