record subcommand for dbx: Append user's commands to a file

Format

record filename

Description

The record subcommand appends the user's command lines to the specified file until a record command is entered with no parameters.

The record subcommand is started by specifying a file name on the record command. A second record command with no parameters will stop the current record process and close the file.

Usage notes

The record subcommand can be run only while the dbx debug program is running.

Examples

  1. To start recording the dbx commands to file /tmp/mycmds, enter:
    record /tmp/mycmds
  2. To stop the previous recording to file /tmp/mycmds, enter:
    record

Related information

The source subcommand.