Debugging macro scripts with the <trace> element
When you are debugging, you can use the <trace> element to send
text and values to a trace output destination. In particular, if you
include the name of a variable in the output, then the macro runtime
will display both the name and the value of the variable in the output,
enclosed in curly braces {}. Here is an example:
The code shown in the figure above prints the following text
to the Java console:
Notice that the <trace> action displays each variable in
curly brackets {} that contain both the variable name and the contents
of the variable.