Sun Studio 12: Debugging a Program With dbx

Listing Modules

The modules command helps you keep track of modules by listing module names.

To list the names of modules containing debugging information that have already been read into dbx, type:


(dbx) modules [-v] -read

To list names of all program modules (whether or not they contain debugging information), type:


(dbx) modules [-v]

To list all program modules that contain debugging information, type:


(dbx) modules [-v] -debug

where:

-v 

Specifies verbose mode, which prints language, file names, and so on.