Visual Studio 10 provides some new features to make debugging WPF applications easier.
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.
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.