CHAPTER 13 S1C88 FAMILY DEBUGGER
S5U1C88000C MANUAL II
EPSON
191
WORKBENCH/DEV TOOLS/OLD ASSEMBLER
rec
(record commands to a file)
Function
This command records all the debug commands executed following this command to a specified
command file.
Format
(1) >rec <file name>
↵
(direct input mode)
(2) >rec
↵
(guidance mode)
...See Examples for guidance.
<file name>: Command file name (path can also be specified)
Examples
(1) First rec execution after debugger starts up
>rec
↵
File name ? sample.cmd
↵
1. append 2. clear and open ...? 2
↵
...Displayed if the file is already exists.
>
(2) rec command input in the second and following sessions
>rec
↵
Set to record off mode.
...Record function toggles when rec is input.
.....
>rec
↵
Set to record on mode.
Notes
• In record on mode, besides the commands directly input in the [Command] window, the commands
executed by selecting from a menu or with a tool bar button (except the [Help] menu command) are
also displayed in the [Command] window, and output to the specified file.
If you modify the register value or data memory contents by direct editing in the [Register] or [Dump]
window, or set breakpoints in the [Source] window by double-clicking the mouse, the corresponding
commands are also displayed in the [Command] window, and output to the specified file.
• At the first time, you should specify the file name to which all debug commands following the rec
command will be output.
• Once an output command file is opened, the recording is suspended and resumed (toggled) every
time you input the rec command. This toggle operation remains effective until you terminate the
debugger. If you want to record following commands to another file, you can use format (1) to specify
the file name, then current output file is closed and all following commands will be recorded in the
newly specified file.
• If you want to execute some commands frequently, you can record them to a file at the first execution,
and then use the com or cmw command to execute that command file you made.
GUI utility
[Option | Record…] menu item
Selecting this menu command displays a dialog box for
specifying a command file. To specify a new command file,
enter the command file name in [Current Command File]
or click the [New...] button and select from the list that
appears.
If the debugger has already started recording commands,
use the [Record State] radio buttons to turn recording on or
off.