Debug JavaScript in Report Designs
Create a report design containing JavaScript.
Before you can use Eclipse's debugging tools with JavaScript that's part of a report design, you
need to perform some extra steps.
- In theScriptview, place a breakpoint on the line that you're interested in debugging. To do so, double-click the margin to the left of the script.
- In theNavigatorview, right-click the.rptdesignfile, then select .
- In the left navigation pane of theDebug Configurationsdialog box, selectReport, then clickNewin the toolbar.
- In theOutputsection, selectPDFfrom theFormatdrop-down list. Then select theOpen generated file when finishedcheck box.
- ClickApply, then clickDebug.
- Select and open theDebugperspective.
- Debug using the standard Eclipse debugging tools.Right-clicking the report design, then selecting uses default settings only, and attempts to print to an HTML file without displaying the output. Don't use this option.