Chapter 11: Debugging WinUI Applications with Visual Studio

Good debugging skills are essential for developers. While .NET developers need to know how to use things such as breakpoints and the Output and Immediate windows, WinUI debugging adds another set of tools and techniques to learn. There are issues that can arise in the UI layer with data binding, layout, and resources. You will learn how to use the Live Visual Tree, the Live Property Explorer, and how to discover data binding errors with Visual Studio's XAML Binding Failures window.

In this chapter, we will cover the following topics:

  • How to debug WinUI applications and work with breakpoints in ViewModels and service classes
  • How to debug data binding problems with the XAML Binding Failures ...

Get Learn WinUI 3.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.