共用方式為


List Modules Command

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

Lists the modules for the current process.

Syntax

Debug.ListModules [/Address:yes|no] [/Name:yes|no] [/Order:yes|no]
[/Path:yes|no] [/Process:yes|no] [/SymbolFile:yes|no]
[/SymbolStatus:yes|no] [/Timestamp:yes|no] [/Version:yes|no]

Parameters

/Address:yes|no

Optional. Specifies whether to show the memory addresses of the modules. Default value is yes.

/Name:yes|no

Optional. Specifies whether to show the names of the modules. Default value is yes.

/Order:yes|no

Optional. Specifies whether to show the order of the modules. Default value is no.

/Path:yes|no

Optional. Specifies whether to show the paths of the modules. Default value is yes.

/Process:yes|no

Optional. Specifies whether to show the processes of the modules. Default value is no.

/SymbolFile:yes|no

Optional. Specifies whether to show the symbol files of the modules. Default value is no.

/SymbolStatus:yes|no

Optional. Specifies whether to show the symbol statuses of the modules. Default value is yes.

/Timestamp:yes|no

Optional. Specifies whether to show the timestamps of the modules. Default value is no.

/Version:yes|no

Optional. Specifies whether to show the versions of the modules. Default value is no.

Example

This example lists the module names, addresses, and timestamps for the current process.

Debug.ListModules /Address:yes /Name:yes /Order:no /Path:no /Process:no /SymbolFile:no /SymbolStatus:no /Timestamp:yes /Version:no

See also