2
Acrobat JavaScript Tools
Debugger Buttons
Debugger Buttons
Figure 2.10
shows the debugger buttons on the toolbar, and
Table 2.4
summarizes the
functionality of each button, followed by detailed descriptions below. An overview of their
usage is provided in
Exercise: Calculator.
F
IGURE
2.10
Debugger Buttons
Resume
Interrupt
Quit
Step Over
Step Into
Step Out
T
ABLE
2.4
Debugger Buttons Summary
Button
Resume Execution
Interrupt
Quit
Step Over
Step Into
Step Out
Description
Runs a script stopped in the debugger.
Halts execution.
Closes the debugger and terminates script execution.
Executes the next instruction, but does not enter a function call if
encountered.
Executes the next instruction, and enters a function call if
encountered.
Executes the remaining code in a function call, and stops at the
next instruction in the calling script.
Resume Execution
When the script is stopped, the
Resume Execution
button cause the script to continue
execution until it reaches one of the following:
●
●
●
●
The next script to be executed
The next breakpoint encountered
The next error encountered
The end of the script
50
Acrobat JavaScript Scripting Guide