LNS Home
Script Debugger
Download & Buy
x Explore
x Edit
x Run & Debug
x Deploy
What's New In 4.5
bullet Documentation
bullet Blog Posts
My SD Story
Software Updates
 
4.0.9 Update
3.0.9 Update
bullet 2.0.5 Update
x Free Downloads
 
XML Tools
XSLT Tools
x Property List Tools
x List & Record Tools
Register Your Copy of Script Debugger
Join the Script Debugger Mailing List
x AppleScript/ Scripting Links
Products
x Script Debugger 4.5
Site Contents
bullet Mark’s Blog
Product Registration
Bug Reporting
x Freeware
Contacting Us

SD4 Headling


image

Turning On Debugging

image

Debugging is a separate mode. A script is either in debug mode or it isn’t. To turn on debug mode for a script:

  • Choose Script > Enable Debugging. If the menu item is checked, debugging mode is on.

The script window appearance changes slightly, as shown in the illustration below:

image

Notice the indications in the above illustration that you’re in debug mode:

To turn off debugging mode:

  • Choose Script > Enable Debugging again, to uncheck it.

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.)

There is, however, one good reason for deliberately saving a script in debug mode and running it elsewhere — so that you can debug externally.



Explore | Edit | Run & Debug | Deploy | What's New In 4.5 | My SD Story


Copyright © 1998-2009 Late Night Software Ltd. - All Rights Reserved.