Debugger Engine Commands
Debugger Commands
799
Microcontrollers Debugger Manual
Usage
LOG type [=] state {[,] type [=] state}
Where type is one of the following types:
CMDLINE: Commands entered on the command line.
CMDFILE: Commands read from a file.
RESPONSES: Command output response.
ERRORS: Error messages.
NOTICES: Asynchronous event notices, such as breakpoints.
Where state is on or off.
state is the new state of type:
•When ON, enables logging of the type.
•When OFF, disables logging of the type.
Components
Debugger engine.
Example:
LOG ERRORS = OFF, CMDLINE = on
Error messages are not recorded in the Log File. Commands entered in the
Command Line component window are recorded.

More About Logging of IF, FOR, WHILE and REPEAT

When commands executed from a command file are logged, all executed
commands that are in a IF block are logged. That is, a command file executed with
the CF or CALL command without the NL option and with CMDFILE flag of the
LOG command set to TRUE. All commands in a block that are not executed
because the corresponding condition is false are also logged but preceded with a
-”.

Example 1:

When executing the following command file:
define truth = 1
IF truth
bckcolor blue
at 2000 bckcolor white
else