Sun Studio 12 Update 1: Debugging a Program With dbx

save Command

The save command saves commands to a file. It is valid only in native mode.


save [ -number ] [ file_name ]

Save all or all minus number commands since last run command, rerun command, or debug command to the default file or file_name.


number is the number of commands not to save.

filename is the name of the file to save the dbx commands executed since the last run, rerun, or debug command.