Sun Studio 12 Update 1: Debugging a Program With dbx

module Command

The module command reads debugging information for one or more modules. It is valid only in native mode.


module [-v]

Print the name of the current module.

module [-f] [-v] [-q] name

Read in debugging information for the module called name.

module [-f] [-v] [-q] -a

Read in debugging information for all modules.


name is the name of a module for which to read debugging information.

-a specifies all modules.

-f forces reading of debugging information, even if the file is newer than the executable (use with caution!).

-v specifies verbose mode, which prints language, file names, and such.

-q specifies quiet mode.