Determining script execution sequence
You can determine the script execution sequence by writing code that generates a file containing a line for every script that you want to track.
To create an output file containing the script execution sequence, include initialization code in the ReportDesign.initialize script and finalization code in the ReportDesign.afterFactory script. In each script that you want to track, add code to write a line of text to the output file. It is easier to write the code in JavaScript than Java, but it is possible to write analogous code in Java.
The following sections show how to use JavaScript to determine script execution sequence.