
Photoshop 7.0 Scripting Guide
27
Scripting basics
Testing and troubleshooting
2
Viewing Debug Information
The Photoshop Script Debugger window provides three informational views that Figure 2.1
depicts.
F
IGURE
2.1
Script Debugger window
The current stack trace appears in the upper-left pane of the script debugger window. This
stack trace view displays the calling hierarchy at the time of the breakpoint. Double-clicking
a line in this view changes the current scope, enabling you to inspect and modify scope-
specific data.
All debugging output appears in the upper-right pane of the script debugger window.
The currently-executing JavaScript source appears in the lower pane of the script debugger
window. Double-clicking a line in this JavaScript source view sets or clears an unconditional
breakpoint on that line; that is, if a breakpoint is in effect for that line, double-clicking it clears
the breakpoint, and vice-versa.
Stack Trace view
Debug Output view
JavaScript Source view
Resume (R)
Step Into(T)
Step Out (U)
Script Breakpoints Display
Pause (P)
Stop (K)
Step Over (S)