Adobe 12001196 - Acrobat - Mac Manual page 35

Javascript
Hide thumbs Also See for 12001196 - Acrobat - Mac:
Table of Contents

Advertisement

Figure 3.1
described in
T
ABLE
Option
Enable Javascript
debugger after
Acrobat is restarted
Store breakpoints
in PDF file
When an exception
is thrown
Enable interactive
console
Show console on
errors and
messages
Acrobat JavaScript Scripting Guide
shows typical JavaScript debugger option settings. Each of the options is
Table
3.1.
3.1
JavaScript debugger options
Meaning
To enable the debugger you must check this option. The
debugger features such as setting breakpoints become available
for you to use the next time you launch Acrobat.
This option enables you to store breakpoints you have set so they
will be available the next time you start Acrobat or open the file.
To remove the breakpoints when the file is debugged and ready
for delivery:
Turn this option off.
Select Advanced > JavaScript > Document JavaScripts and
delete the ACRO_Breakpoints script.
Save the file.
This option provides three choices for what you want to happen
when an exception is thrown:
Ignore: ignores the exception.
Trace :displays a stack trace.
Break: stops execution and displays a message window that
gives you the option to start the debugger at the line and
function where the exception occurred.
This option allows you to edit in the console window. If this
option is not checked and you click the console window as if to
edit text there, the following message displays:
The interactive console is not enabled. Would you like to
enable it now?
Clicking Yes enables this option from within the debugger. In
Preferences you will now see this option checked.
This option opens the console window in the debugger dialog
and displays the appropriate message. If the debugger is not
enabled when you check this option, the debugger dialog still
opens when an error occurs and displays the error message to
the console window. If, however, you click the console window,
the following message displays:
The interactive console is not enabled. Would you like to
enable it now?
Clicking Yes enables the interactive console from within the
debugger.
Acrobat JavaScript Debugger
Enabling the Acrobat JavaScript Debugger
3
35

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Acrobat 6.0

Table of Contents