Differences

This shows you the differences between two versions of the page.

Link to this comparison view

72:custom_report_tipsandtricks_debug1 [2019/02/07 13:45]
ext-bkkr created
72:custom_report_tipsandtricks_debug1 [2019/03/06 20:21] (current)
ext-bkkr
Line 1: Line 1:
 ====== Debugging of BIRT Scripts (File Based) ====== ====== Debugging of BIRT Scripts (File Based) ======
 +
 +This kind of debugging works under the following conditions:
 +
 +^System^Limitations|
 +|Report preview in the BIRT Designer|The debugging results/​files are accessible on the local computer.|
 +|Report runs on Stages Server|The debugging results/​files are accessible only on the Stages server.|
 +
 +//​Instructions//​
 +
 +1. For BIRT Designer Script debugging add importPackage(Package.java.io) ; at the beginning of your BIRT Designer script.
 +
 +2. Add the following lines to your BIRT Designer script, Stages Data Set script or Stages Data collector script.
 +
 +Change the filename and path to your needs.
 +
 +<​code>​
 +out = new PrintWriter( new FileWriter( "​c:/​debugging/​debugging.txt",​
 + true ) );
 +out.println("​hallo World"​);​
 +out.close();​
 +</​code>​
 +
 +\\