214 EPSON S5U1C62000A MANUAL
(S1C60/62 FAMILY ASSEMBLER PACKAGE)
CHAPTER 9: DEBUGGER
9.9.16 log
log (log)
Function
This command saves the input commands and the execution results to a file.
Format
(1) >log <file name>↵ (direct input mode)
(2) >log↵ (guidance mode) ... See Examples for guidance.
<file name>: Log file name (path can also be specified)
Examples
(1) First log execution after debugger starts up
>log↵
File name ? debug1.log↵
1. append 2. clear and open ...? 2↵ ... Displayed if the file is already exists.
>
(2) "log" command input in the second and following sessions
>log↵
Set to log off mode. ... Logging function toggles when log is input.
.....
>log↵
Set to log on mode.
Notes
• In log on mode, the contents displayed in the [Command] window are written as displayed directly to
the log file.
The commands executed by selecting from a menu or with a tool bar button are displayed in the
[Command] window. However, the [Help] menu and button commands are not displayed. If you
modify the register value or data memory contents by direct editing in the [Register] or [Data]
window, or set breakpoints in the [Source] window by double-clicking the mouse, the corresponding
commands and the execution results are also displayed in the [Command] window, and output to the
specified file.
The displayed contents of the [Data], [Trace] or [Register] window produced by command execution
are displayed in the [Command] window as well. The on-the-fly information is also displayed.
However, the updated contents of each window after some execution, as well as the contents of each
window scrolled by scroll bar or arrow keys, are not displayed.
• At the first time, you should specify the file name to which all following debug commands and
execution results will be output.
• Once a log file is open, log output is suspended and resumed (toggled) every time you input the log
command. This toggle operation remains effective until you terminate the debugger. If you want to
specify a new log file, you can use format (1) to specify the file name, then current log file is closed
and following commands and results will be output to the newly specified file.
GUI utility
[Option | Log …] menu item
When this menu item is selected, a standard file selection dialog box
appears for specifying a log file.
If the logging function has been activated, a dialog box appears allowing
selection of either log-off mode or log-on mode. A new log file can also
be specified using the [New...] button.