Record and Playback Commands
Table I-16. Record and Playback Commands
----------------------------------------------------------------------------------------
| | |
| Cmd | Description |
| | |
----------------------------------------------------------------------------------------
| | |
| >file | Sets or changes the record file to file, turns recording on, |
| | rewrites the file from the beginning, and only records commands. |
| | If file exists, you are asked if you want to overwrite. |
| | |
----------------------------------------------------------------------------------------
| | |
| >>file | Sets or changes the record file to file, turns recording on, and |
| | only records commands. All recording is appended to the |
| | existing file; otherwise, a new file is created. |
| | |
----------------------------------------------------------------------------------------
| | |
| > | Displays the recording state and the current recording file. |
| | Can also use ">>". |
| | |
----------------------------------------------------------------------------------------
| | |
| <file | Starts playback from the file. |
| | |
----------------------------------------------------------------------------------------
| | |
| <<file | Starts playback from the file using the "line-at-a-time" |
| | feature. Each command line from the playback file is shown |
| | before it is executed, and the debugger provides a list of the |
| | following commands for you to take some action: |
| | |
| | command (<cr>,S, <num>, C, Q, or ?): |
| | |
| | You can use any of the above options as described: |
| | |
| | <cr> execute one command line |
| | S skip one command line |
| | <num> execute number of command lines |
| | C continue through all playback |
| | Q quit playback mode |
| | ? gives this explanation of the above |
| | commands |
| | |
----------------------------------------------------------------------------------------
| | |
| tr | Toggles recording; toggles the state of the record mechanism |
| | between active and suspended. |
| | |
----------------------------------------------------------------------------------------
| | |
| >t | Turns recording on. (active) |
| | |
----------------------------------------------------------------------------------------
| | |
| >f | Turns recording off. (suspended) |
| | |
----------------------------------------------------------------------------------------
| | |
| >c | Closes the record file. |
| | |
----------------------------------------------------------------------------------------
Table I-17. Commands Used to Record Debugger Output
----------------------------------------------------------------------------------------
| | |
| Cmd | Description |
| | |
----------------------------------------------------------------------------------------
| | |
| >@file | Sets or changes the record-all file to file, rewrites from the |
| | beginning, and turns recording on. If file exists, you are |
| | asked if you want to overwrite. Captures all input to and |
| | output from the debugger command window, except user program |
| | output. |
| | |
----------------------------------------------------------------------------------------
| | |
| >>@file | Sets or changes the record-all file to file, and turns recording |
| | on. Appends record-all output to the existing file. Captures |
| | all input to and output from the debugger command window. |
| | |
----------------------------------------------------------------------------------------
| | |
| >@ | Displays the current record-all state and file. Can also use |
| | ">>@". |
| | |
----------------------------------------------------------------------------------------
| | |
| tr @ | Toggles the state of the record-all mechanism between active and |
| | suspended. |
| | |
----------------------------------------------------------------------------------------
| | |
| >@t | Turns record-all on. |
| | |
----------------------------------------------------------------------------------------
| | |
| >@f | Turns record-all off. |
| | |
----------------------------------------------------------------------------------------
| | |
| >@c | Closes the record-all file. |
| | |
----------------------------------------------------------------------------------------