Please enable JavaScript to view this site.

ESL Documentation

You can use the turn trace on statement to tell ESL to record, in the errorlog, every action statement that it 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 more slowly when tracing is on.

 

ESL begins to record its actions as soon as it encounters a turn trace on statement; for example:

 

response to NewShade

    turn trace on

    copy "red" to Color

    make Box1 color Color

    turn trace off

 

produces errorlog text such as the following:

 

Turning trace on 

Copying 'red' to Color 

Making Box1 red 

Turning trace off

 

To stop the trace, use a turn trace off statement. ESL ceases tracing as soon as the statement is executed.