How to: Use the Modules Window
This topic applies to:
Edition |
Visual Basic |
C# |
C++ |
Web Developer |
---|---|---|---|---|
Express |
||||
Standard |
||||
Pro and Team |
Table legend:
Applies |
|
Does not apply |
|
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
In the Modules window, right-click a module for which symbols are not loaded.
Point to Load Symbols From and then click Microsoft Symbol Servers or Symbol Path.
To set the symbol path
In the Modules window, right-click any module.
Click Symbol Settings.
The Options dialog box opens to the Symbols page.
In the Options dialog box, click the Folder icon.
In the Symbol file (.pdb) locations box, cursor appears.
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.
Click OK to close the Options dialog box.