How to: Use the Modules Window
This topic applies to:
Edition |
Visual Basic |
C# |
F# |
C++ |
Web Developer |
---|---|---|---|---|---|
Express |
|||||
Pro, Premium, and Ultimate |
Note
This feature is not available for SQL or script debugging.
The Modules window lists the DLLs and EXE that are used by your program and shows relevant information for each.
To display the Modules window in break mode or in run mode
On the Debug menu, choose Windows, and then click Modules.
By default, the Modules window sorts modules by load order. However, you can choose to sort by any column.
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 Symbol Locations and Loading Behavior.
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 Skipped loading Cannot find or open the PDB file, or Loading disabled by include/exclude setting, you can direct the debugger to download symbols from the Microsoft public symbol servers or to load symbols from a symbol directory on your computer. For more information, see How to: Use a Symbol Server and How to: Specify Symbol Locations and Loading Behavior.
To load symbols manually
In the Modules window, right-click a module for which symbols have not loaded.
Point to Load Symbols From and then click Microsoft Symbol Servers or Symbol Path.
To change symbol load settings
In the Modules window, right-click any module.
Click Symbol Settings.
You can now change the symbol load settings, as described in How to: Specify Symbol Locations and Loading Behavior. Changes do not take effect until you restart the debugging session.
To change symbol load behavior for a specific module
In the Modules window, right-click the module.
Point to Automatic Symbol Load Settings and then click Always Load Manually or Default. Changes do not take effect until you restart the debugging session.
See Also
Tasks
How to: Specify Symbol Locations and Loading Behavior