To list the names of modules containing debugging information that have already been read into dbx:
modules -read
To list names of all program modules (with or without debugging info):
modules
To list all program modules with debugging info:
modules -debug
To print the name of the current module:
module
To print out non-type identifiers:
whatis [-n] [-r]
To print out type identifiers:
whatis -t [-r]
whatis -e [-r]
The default number of lines listed when no number is specified is controlled by the dbxenv variable output_list_size. Where appropriate, the line number may be $ (dollar sign) which denotes the last line of the file. A comma is optional.
To print a specific line number:
list number
To print the next number lines, or the previous number lines, use the plus or minus sign:
list [ + | - ] number
To list lines from one number to another:
list number1 number2
To list the start of the file filename:
list filename
To list the file filename from line number:
list filename:number
To list the start of the source for function:
list function
This command changes the current scope.
To intermix source lines and assembly code:
list -i
To list number lines, a window, around a line or function:
list -w number
This option is not allowed in combination with the + or - syntax or when two line numbers are specified.