Modules trong window debug vs2022 là gì

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

View DLLs and executables in the Modules window (C#, C++, Visual Basic, F#)

  • Article
  • 04/30/2022
  • 2 minutes to read

In this article

Applies to:

Modules trong window debug vs2022 là gì
Visual Studio
Modules trong window debug vs2022 là gì
Visual Studio for Mac
Modules trong window debug vs2022 là gì
Visual Studio Code

During Visual Studio debugging, the Modules window lists and shows information about the DLLs and executables (.exe files) your app uses.

Note

The Modules window is not available for SQL or script debugging.

Use the Modules window

To open the Modules window, while you're debugging, select Debug > Windows > Modules (or press Ctrl + Alt + U).

By default, the Modules window sorts modules by load order. To sort by any window column, select the header at the top of the column.

Load symbols

The Symbol Status column in the Modules window shows which modules have debugging symbols loaded. If the status is Skipped loading symbols, Cannot find or open the PDB file, or Loading disabled by include/exclude setting, you can load symbols manually. For more information about loading and using symbols, see Specify symbol (.pdb) and source files.

To load symbols manually:

  1. In the Modules window, right-click the module for which symbols haven't loaded.

    • Select Symbol Load Information for details about why the symbols didn't load.

    • Select Load Symbols to load the symbols manually.

  2. If the symbols don't load, select Symbol Settings to open the Options dialog, and specify or change symbol loading locations.

    You can download symbols from the public Microsoft Symbol Servers or other servers, or load symbols from a folder on your computer. For details, see Configure location of symbol files and loading behavior.

To change symbol loading behavior settings:

  1. In the Modules window, right-click any module.

  2. Select Symbol Settings.

  3. Select Load all symbols, or select which modules to include or exclude.

  4. Select OK. Changes take effect in the next debugging session.

To change symbol loading behavior for a specific module:

  1. In the Modules window, right-click the module.

  2. In the right-click menu, select or deselect Always Load Automatically. Changes take effect in the next debugging session.

See also

  • Breaking execution
  • Viewing data in the debugger
  • Specify symbol (.pdb) and source files

Feedback

Submit and view feedback for

Chuyển đến nội dung chính

Trình duyệt này không còn được hỗ trợ nữa.

Hãy nâng cấp lên Microsoft Edge để tận dụng các tính năng mới nhất, bản cập nhật bảo mật và hỗ trợ kỹ thuật.

Inspect data using debugger windows in Visual Studio

  • Bài viết
  • 04/30/2022
  • 2 phút để đọc

Trong bài viết này

Applies to:

Modules trong window debug vs2022 là gì
Visual Studio
Modules trong window debug vs2022 là gì
Visual Studio for Mac
Modules trong window debug vs2022 là gì
Visual Studio Code

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.

WindowHotkeySee 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

Phản hồi

Gửi và xem ý kiến phản hồi dành cho