Debugging and Interpreting Errors in the WPF Designer
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The WPF Designer for Visual Studio provides full debugging support for your WPF controls and applications. If errors occur, various tools and resources are available to interpret and correct the errors.
In This Section
Troubleshooting WPF and Silverlight Designer Load Failures
Describes how to diagnose common issues that can occur when you author a custom design-time for WPF controls.XAML Errors and Help
Describes the Error List window and how to get help on XAML errors that appear in the WPF Designer.Debugging and Interpreting Errors Walkthroughs
Contains links to topics that describe how to debug and interpret runtime errors in the WPF Designer.Error Message Reference for the WPF Designer
Contains links to topics that describe XAML errors that appear in the WPF Designer.Loading of the visual designer was cancelled
Describes the message that appears in the WPF Designer when you cancel loading a XAML file.The document root element is not supported by the visual designer
Describes the message that appears in the WPF Designer when you open a XAML file without any visual objects.The document contains errors that must be fixed
Describes the message that appears in the WPF Designer when a XAML file contains an error.An unhandled exception has occurred
Describes the message that appears in the WPF Designer when a XAML file accesses code that contains an exception.
Reference
XamlParseException
Represents the exception class for parser-specific exceptions.ExceptionRoutedEventArgs
Provides data for the Image and MediaElement failed events.DispatcherUnhandledException
Occurs when code executing by way of the Dispatcher raises an exception which is not handled.
Related Sections
Troubleshooting WPF and Silverlight Designer Load Failures
Describes procedures for understanding unexpected behavior in your custom designer code.XAML in WPF
Contains links to topics that describe how to use XAML markup to define your WPF controls and applications.XAML Namespace (x:) Language Features
Contains links to topics that describe elements and attributes in the XAML namespace.WPF XAML Extensions
Contains links to topics that describe XAML markup extensions.Error List Window
Describes how errors, warnings, and messages are displayed in the Error List window.Exception Assistant
Describes the Exception Assistant dialog box, which you can use to interpret runtime exceptions.Debugging in Visual Studio
Contains links to topics that describe how to use Visual Studio to debug applications.Exception Handling (Debugging)
Describes how to use the error handling features of Visual Studio to interpret runtime exceptions.