11

Debugging WinUI Applications with Visual Studio

Good debugging skills are essential for developers. While .NET developers need to know how to use features including breakpoints and the Output and Immediate windows, WinUI project debugging adds another set of tools and techniques to master. There are issues that can arise in the UI layer with data binding, layout, and resources. You will learn how to use Live Visual Tree and 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 failures by leveraging the XAML Binding ...

Get Learn WinUI 3 - Second Edition 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.