Sunday, December 9, 2012

Using Trace for debugging

Trace command.

Using trace command we can monitor changing values in the script execution.

Example Code:

for i=1 to 10
Tab:
load
RowNo() as id

AutoGenerate(1);

trace $(i);
next;

When we run report on debugger with next button we can monitor how values in variable i are changing.


This will be very useful when report size is very high and complex to monitor.
using it with Lomited load option will make debugging even more faster.