This article covers many techniques you can use to troubleshoot and debug your WPF application, including binding errors, exception handling, inspecting the VisualTree and logging.
Table of Contents
- Binding Errors
- WPF Tree Visualizer
- Inner Exceptions
- Unhandled Exceptions
- Commenting Out and Binary Chopping
- See Also
- Community Resources
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.
Lots of great suggestions for debugging and troubleshooting WPF/XAML issues.