Microcontrollers Debugger Manual

Debugger Engine Commands
Debugger Commands
795
Microcontrollers Debugger Manual
LF
The LF command initiates logging of commands and responses to an external file or
device. While logging remains in effect, any line that is appended to the command
window is also written to the log file.
Logging continues until a close log file (NOLF
) command is executed. When the LF
command is entered with no filename, the Open File dialog box is displayed to specify a
filename.
Use the logging option (LOG
) command to specify information to be logged.
If a path is specified in the file name, this path must be a valid path. When a relative path
is specified, ensure that the path is relative to the project directory.
Usage
LF [fileName][;A]
fileName is a DOS filename that identifies the file or device where the log is
written. The command interpreter does not assume a filename extension.
;A opens the file in append mode. Logged lines are appended at the end of an
existing log file.
If the ;A option is omitted and fileName is an existing file, the file is cleared before
logging begins.
Components
Debugger engine.
Example
in>lf /mcuez/demo/logfile.txt ;A
The logfile.txt file is opened as a Log File in “append” mode.
NOTE If no path is specified, the destination directory is the current project directory.