O'Reilly logo

AppleScript® Programming for the Absolute Beginner by Jerry Lee Ford

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Monitoring AppleScript Execution

If there is one certainty in programming, it is that errors are going to happen. When they do, it is your job as the programmer to track down and eliminate the errors, or bugs, that prevent your AppleScript from running correctly. One facility provided by many programming languages that is not currently supplied as a built-in part of AppleScript is debugging. By this I mean that there is no ability to set breakpoints, which are location markers within your script code that when reached, temporarily pause the script so that you can use other debugger facilities such as variable monitoring. With variable monitoring, a debugger lets you track the values assigned to variables so that you can verify that their values ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required