LiveCycle Designer ES includes a number of features and strategies for debugging your calculations and scripts, depending on the scripting language you choose.For both FormCalc and JavaScript, you can take advantage of certain LiveCycle Designer ES capabilities to debug and verify your scripts.
• Using the Warnings tab in the Report palette, you can view any errors or messages generated by LiveCycle Designer ES as you design a form. For more information about using the Warnings tab and the LiveCycle Designer ES workspace to debug your scripts, see “Using the workspace to debug calculations and scripts”.
• Using the Log tab, you can view validation messages, JavaScript or FormCalc scripting execution errors, and design-time form rendering errors generated by LiveCycle Designer ES when you import or save a form, or preview a form using the Preview PDF tab.
• Using the XML Form Object Model messageBox method to output information from an interactive form into a dialog box at run time. For more information about using the messageBox method, see messageBox.
• For certain types of debugging, you may want to output information, such as field values or messages, into a text field on your form design. For example, you can append new messages or values to the value of a text field to create a log that you can refer to when resolving issues.If you use Acrobat Professional, you can use the JavaScript Debugger from Acrobat to test your form scripts. The JavaScript Debugger includes the JavaScript Console, which you can use to test portions of JavaScript code in the Preview PDF tab. The JavaScript Console provides an interactive and convenient interface for testing portions of JavaScript code and experimenting with object properties and methods. Because of its interactive nature, the JavaScript Console behaves as an editor that supports the execution of single lines or blocks of code.For more information about the JavaScript Console and the JavaScript Debugger, see Developing Acrobat Applications Using JavaScript at http://www.adobe.com/go/learn_lc_AcrobatDeveloper (English only).