Scripter Javascript Tutorial
javascriptmusiclogicscripterbookexcerpttutorial95 Debugging Errors
Scripter does not offer any debugging tools typically found in other
development environments like Xcode or Safari’s Developer Tools.
try...catch
statements can be useful for capturing
potential errors in a script and handling them gracefully. At the same
time, the Trace()
function is more useful because it
provides insight into most variable’s actual values.