CHAPTER 8: DEBUGGER

8.7.4 Log File

The executed commands and the execution results can be saved to a file in text format that is called a "log file". This file allows verification of the debug procedures and contents.

The contents displayed in the [Command] window are saved to this file.

Command example

>log tst.log

After the debugger is set to the log mode by the log command (after it starts outputting to a log file), the log command toggles (output turned on in log mode ↔ output turned off in normal mode). Therefore, you can output only the portions needed can be output to the log file.

Display of [Command] window in log mode

The contents displayed in the [Command] window during log mode differ from those appearing in normal mode.

(1) When executing a command when each window is open

(When the window that displays the command execution result is opened)

Normal mode: The contents of the relevant display window are updated. The execution results are not displayed in the [Command] window.

Log mode: The same contents as those displayed in the relevant window are also displayed in the [Command] window. However, changes made to the relevant window by scrolling or opening it are not reflected in the [Command] window.

(2)When executing a command while each window is closed

When the relevant display window is closed, the execution results are always displayed in the [Command] window regardless of whether operation is in log mode or normal mode.

For the display format in the [Command] window, refer to each command description.

140

EPSON

S5U1C63000A MANUAL

 

 

(S1C63 FAMILY ASSEMBLER PACKAGE)