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

Debug

image

Debugging a script is like running it, except that as it runs in debug mode, your script can pause in the middle. Script Debugger can debug (and run) multiple scripts simultaneously.

This opens up all sorts of new possibilities. You can see (and alter!) the values of your script’s variables, and other AppleScript values, as they change during the course of execution. You can see what code is executed and what choices your code makes. The Apple Event Log window also takes on new powers. Thus, with debugging, you can learn much more about how your script operates.

Debugging is a separate mode. A script is either in debug mode or it isn’t. When you enter debug mode, the window changes slightly, to accommodate things like breakpoints and code coverage in the gutter, and additional menu items (and toolbar buttons) become active to permit stepping through the code.

As your code executes in debug mode, it can pause, and thus the big question is, when will it pause? The answer involves chiefly the interplay between breakpoints and the stepping commands.



image
Run


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


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