共用方式為


Inspect data using debugger windows 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

You can open most debugger windows while you are debugging your program. To see a list of debugger windows, set a breakpoint and start debugging. When you hit the breakpoint and execution stops, click Debug > Windows.

Window Hotkey See topic
Breakpoints CTRL+ALT+B Use Breakpoints
Exception Settings CTRL+ALT+E Manage Exceptions with the Debugger
Output CTRL+ALT+O Output Window
Watch CTRL+ALT+W, (1, 2, 3, 4) Watch and QuickWatch Windows
QuickWatch SHIFT+F9 Watch and QuickWatch Windows
Autos CTRL+ALT+V, A Autos and Locals Windows
Locals CTRL+ALT+V, L Autos and Locals Windows
Call Stacks CTRL+ALT+C How to: Use the Call Stack Window
Immediate CTRL+ALT+I Immediate Window
Parallel Stacks CTR:+SHIFT+D, S Using the Parallel Stacks Window
Parallel Watch CTR:+SHIFT+D, (1, 2, 3, 4) Get started Debugging Multithreaded Applications
Threads CTRL+ALT+H Debug using the Threads Window
Modules CTRL+ALT+U How to: Use the Modules Window
GPU Threads - How to: Use the GPU Threads Window
Tasks CTR:+SHIFT+D, K Using the Tasks Window
Python Debug Interactive SHIFT+ALT+I Python Interactive REPL
JavaScript Console CTRL+ALT+V, C QuickStart: Debug JavaScript
DOM Explorer CTRL+ALT+V, D Debug layout using DOM Explorer
Live Visual Tree - Inspect XAML properties while debugging
Live Property Explorer - Inspect XAML properties while debugging
Processes CTRL+ALT+Z Debug Threads and Processes
Memory CTRL+ALT+M, (1, 2, 3, 4) Memory Windows
Disassembly CTRL+ALT+D How to: Use the Disassembly Window
Registers CTRL+ALT+G How to: Use the Registers Window

See also

First look at the debugger