2
Introduction
Acrobat JavaScript Tools
Acrobat provides an integrated development environment that offers several tools with
which to develop and test Acrobat JavaScript functionality. These tools are the JavaScript
Editor, Console, and Debugger. In addition, Acrobat supports the use of third-party editors
for code development.
In this chapter, you will have the opportunity to practice using the editor, console, and
debugger to evaluate scripts.
Chapter Goals
At the end of this chapter, you will be able to:
●
Invoke the JavaScript console and use it to interactively execute code and display print
statements.
Use the editor to create and modify Acrobat JavaScript code.
Specify the default editor to be used in your development efforts.
Identify the extra capabilities that Acrobat supports on some external editors.
Identify and understand how to use the following debugger controls and features:
– Start the debugger at any point within a script.
– Interactively execute code and display output to the console window.
– Set and manage customized watches and breakpoints.
– Inspect the details of variables.
– Start a new debugging session without exiting the debugger.
●
●
●
●
Acrobat JavaScript Scripting Guide
29