Debugger Engine Commands
Debugger Commands
800
Microcontrollers Debugger Manual
bckcolor yellow
at 1000 bckcolor white
ENDIF
The following log file is generated:
!define truth = 1
!IF truth
! bckcolor blue
! at 2000 bckcolor white
!else
!- bckcolor yellow
!- at 1000 bckcolor white
!ENDIF
When commands executed from a command file are logged, all executed
commands that are in the FOR loop are logged the number of times they have been
executed. That is, a command file executed with the CF or CALL command
without the NL option and with the CMDFILE flag of the LOG command set to
TRUE.
Example 2:
When executing the following file:
define i = 1
FOR i = 1..3
ls
ENDFOR
The following log file is generated:
!define i = 1
!FOR i = 1..3
! ls
i 0x1 (1)
!ENDFOR
! ls
i 0x2 (2)
!ENDFOR
! ls