dump subcommand for dbx: Display the names and values of variables in a procedure
Format
dump [procedure] [>file]
Description
The dump subcommand displays the names and values of all variables in the specified procedure. If the procedure argument is . (dot), all active variables are displayed. If the procedure argument is not specified, the current procedure is used. If the >file option is used, the output is redirected to the specified file.
Options
- >file
- dump output to the specified file.
Usage notes
The dump subcommand can be run only while the dbx debug program is running. dump redirects output to the specified file.
Examples
- To display names and values of variables in the current procedure,
enter:
dump
- To display names and values of variables in the add_count procedure,
enter:
dump add_count
- To redirect names and values of variables in the current procedure
to the var.list file, enter:
dump > var.list