c17 log
(logging)
Operation
Saves the entered commands and command execution results displayed in the [Console] window to a file. The
contents displayed in the [Console] window are written directly to a log file unchanged. Moreover, the contents
of commands not displayed in the [Console] window, but executed from menus or by other means, are also
output to a log file.
Format
c17 log Filename
c17 log
Filename: Name of log file
Usage example
n Example 1
(gdb) c17 log log.txt
log on
The commands to be entered hereafter and execution results are output to log.txt in text format.
Log output remains on until the c17 log command is subsequently executed.
n Example 2
(gdb) c17 log
log off
The log file is closed and log output terminated.
Notes
• If an existing file name is specified, the c17 log command overwrites the file.
• To change the destination of log output to another file, terminate log output temporarily and specify a new
file name before restarting log output.
• Any c17 log command contained in the command file selected by [Source...] on the [File] menu does
not work. Load the command file using startup option -x of the debugger at startup or execute the source
command in the [Console] window.
• The c17 log command contained in the command file specified by startup option -x is only effective with
the [Console] window open. Be careful not to close the [Console] window before executing the c17 log
command, because no log files will be created.
S5U1C17001C ManUal
(C COMPilEr PaCkagE fOr S1C17 faMily) (Ver. 1.5.0)
(starts logging.)
(completes logging.)
EPSOn
10 DEBUggEr
[ICD Mini / SIM]
10
Debugger
10-135
Need help?
Do you have a question about the S5U1C17001C and is the answer not in the manual?