Adobe 23101335 - Photoshop - PC Manual page 28

Scripting guide
Hide thumbs Also See for 23101335 - Photoshop - PC:
Table of Contents

Advertisement

Controlling Code Execution in the Script Debugger Window
This section describes the buttons that control the execution of code when the Script Debugger
window is active. Most of these buttons also provide a keyboard shortcut available as a Ctrl-
key combination on Windows platforms or a Cmd- key combination on Mac OS platforms.
Resume execution of the script with the script debugger window open. When the script
terminates, Photoshop closes the script debugger window automatically. Closing the debugger
window manually also causes script execution to resume. This button is enabled when script
execution is paused or stopped.
Halt the currently-executing script temporarily and reactivate the script debugger window.
This button is enabled when a script is running.
Stop execution of the script and generate a runtime error. This button is enabled when a script
is running.
Halt after executing a single JavaScript statement in the script or after executing a single
statement in any JavaScript function the script calls.
Halt after executing a single JavaScript statement in the script; if the statement calls a
JavaScript function, execute the function in its entirety before stopping.
When the debugger is paused within the body of a JavaScript function, clicking this button
resumes script execution until the function returns. When paused outside the body of a
function, clicking this button resumes script execution until the script terminates.
Photoshop 7.0 Scripting Guide
Resume
Cmd-R (Mac OS)
Ctrl-R (Windows)
Pause
Cmd-P (Mac OS)
Ctrl-P (Windows)
Stop
Cmd-K (Mac OS)
Ctrl-K (Windows)
Step Into
Ctrl-T (Mac OS)
(Windows)
Cmd-T
)
Step Over
Ctrl-S (Mac OS)
Cmd-S (Windows)
Step Out
Ctrl-U (Mac OS)
Cmd-U (Windows)
Scripting basics
Testing and troubleshooting
2
28

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop 7.0

Table of Contents