Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Record the action statement performed.

[turn] trace {on|off}

Description

Use this statement when debugging to record, in the errorlog, every action statement that ESL performs.

Typically, you trace only those areas of the ESL program that are untested or that are not producing the results you want, because ESL operates much slower when tracing is on.

ESL begins to record its actions as soon as it encounters a turn trace on statement, and ceases tracing as soon as it encounters a turn trace off statement.

Example

 

response to NewShade_GR

 turn trace on

 copy "red" to Color_SV

 make Box1_KEY color Color_SV

 turn trace off