|
Debugging is a separate mode. A script is either in debug mode or it isn’t. To turn on debug mode for a script:
The script window appearance changes slightly, as shown in the illustration below: ![]() Notice the indications in the above illustration that you’re in debug mode:
To turn off debugging mode:
When you’re finished debugging, you will probably want to save your script not in debugging mode. A script left in debug mode (with its language set at AppleScript Debugger X) is not portable to machines that don’t have Script Debugger, and won’t run normally in other environments. (Apple’s Script Editor cannot even open such a script.) Having saved a script in debug mode, you would not want to distribute it to other users accidentally. (Also, a script in debug mode runs slower and uses more of AppleScript’s internal resources.)
|
|||||||||||||||||