Partager via


Debugging WPF

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Visual Studio provides additional features to make debugging WPF applications easier.

Title Description
Write and debug running XAML code You can use XAML Hot Reload to explore the visual tree of a WPF object and view the WPF dependency properties for the objects in that tree. This topic describes how to use XAML Hot Reload.
Inspect XAML properties while debugging You can use the Live Visual Tree to explore the visual tree of a WPF object and view the WPF dependency properties for the objects in that tree.
How to: Use the WPF Tree Visualizer You can use the WPF Tree Visualizer to explore the visual tree of a WPF object and view the WPF dependency properties for the objects in that tree. This topic describes the user interface of the WPF Tree Visualizer.
How to: Display WPF Trace Information Visual Studio can receive debug trace information from WPF applications and display that information in the Output window. This topic describes how to enable and customize the display of WPF trace information.

See also