共用方式為


Debug Universal Windows Apps (UWP) in Visual Studio

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

The Visual Studio debugger provides complete support for debugging UWP apps. See the following articles for UWP debug tasks.

Debug task Article
Run UWP apps on a local machine, remote or connected device, or app simulator. Start a debugging session for a UWP app
Debug deployed apps, both local and remote. Debug an installed app package
Write and debug running XAML code You can use XAML Hot Reload to explore the visual tree of a UWP XAML object and view the 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 UWP XAML object and view the dependency properties for the objects in that tree.

See also