> ## Determining method execution sequence

> You can determine the method execution sequence by writing code that generates a file containing a line for every method that you want to track.

> To create an output file that contains the method execution sequence include initialization code in the ReportDesign.initialize method and finalization code in the ReportDesign.afterFactory method. In each method 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 you how to use JavaScript to determine method execution sequence.

(c) Copyright Actuate Corporation 2009