Udostępnij za pośrednictwem


How to: Use the Modules Window

This topic applies to:

Edition

Visual Basic

C#

C++

Web Developer

Express

Topic does not apply Topic does not apply

Topic applies

Topic does not apply

Standard

Topic applies

Topic applies

Topic applies

Topic applies

Pro and Team

Topic applies

Topic applies

Topic applies

Topic applies

Table legend:

Topic applies

Applies

Topic does not apply

Does not apply

Topic applies but command hidden by default

Command or commands hidden by default.

Note

This feature is not available for SQL or script debugging.

The Modules window lists the modules—DLLs and EXE— used by your program, and shows relevant information for each.

To display the Modules window in break mode or run mode

  • On the Debug menu, choose Windows, and then click Modules.

    By default, the Modules window sorts modules by load order. You can choose to sort by any column, however.

To sort by any column

  • Click the button at the top of the column.

    You can load symbols or specify a symbol path from the Modules window by using the shortcut menu. For more information, see How to: Specify a Symbol Path.

Loading Symbols

In the Modules window, you can see which modules have debugging symbols loaded. This information appears in the Symbol Status column. If the status says Cannot find or open the PDB file, you can direct the debugger to download symbols from the Microsoft public symbol servers or to load symbols from a symbol path on the computer that you are debugging. For more information, see How to: Use a Symbol Server and How to: Specify a Symbol Path.

To load symbols

  1. In the Modules window, right-click a module for which symbols are not loaded.

  2. Point to Load Symbols From and then click Microsoft Symbol Servers or Symbol Path.

To set the symbol path

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

  2. Click Symbol Settings.

    The Options dialog box opens to the Symbols page.

  3. In the Options dialog box, click the Folder icon.

    In the Symbol file (.pdb) locations box, cursor appears.

  4. Type a directory pathname to the symbol location on the computer that you are debugging. For local debugging, this is your local computer. For remote debugging, it is the remote computer.

  5. Click OK to close the Options dialog box.

See Also

Tasks

How to: Use a Symbol Server

How to: Specify a Symbol Path

Concepts

How to: Break Execution

Viewing Data in the Debugger