Adobe 23101335 - Photoshop - PC Manual page 25

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

Advertisement

Scripting basics
2
Testing and troubleshooting
2.10.2 Visual Basic debugging
In Visual Basic, you can stop your script at any point, or step through your script one line at a
time. To stop your script at a particular line, select that line in your script and choose "Debug >
Toggle Breakpoint".
When you run the script, Visual Basic will stop at the breakpoint you have set. Choose "Debug
> Step Into" (or press F8) to execute the next line of your script, or choose "Run > Start" (or
press F5) to continue normal execution of the script.
You can also observe the values of variables defined in your script using the "Watch" window
— a very valuable tool for debugging your scripts. To view a variable in the "Watch" window,
select the variable and choose "Debug > Quick Watch". Visual Basic displays the
"Quick Watch" dialog box. Click the "Add" button. Visual Basic displays the "Watch"
window. If you have closed the "Watch" window, you can display it again by choosing "View
> Watch Window."
Check your Visual Basic documentation for more information. Windows Scripting Host also
provides debugging information.
25
Photoshop 7.0 Scripting Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Photoshop 7.0

Table of Contents