debugging, managing AppleScript libraries with Script Debugger
debugging, managing AppleScript libraries with Script Debugger
- Subject: debugging, managing AppleScript libraries with Script Debugger
- From: "Rua Haszard Morris" <email@hidden>
- Date: Wed, 29 Oct 2003 12:27:53 +1100
Hi list,
This is a bit of a dud email, but when I first started uising applescript I
would have appreciated finding it the archive.
For debugging scripts, there is only one IDE, Script Debugger
www.latenightsw.com. It's not free but it's the best (only?) way to walk
thru code as it runs. Well worth the dollars.
In addition, if you're developing a moderate project in applescript, and are
separating code off into libraries, Script Debugger is great for managing
this.
Apoligies to all AppleScript-Users for whom this is not news - I just
thought it might help the odd newbie browsing the archives in the future..
A discussion on the merits and drawbacks of various applescript development
environments/editors would be welcomed & would certainly benefit the
community.
Thanks all,
Rua HM.
>
I've been developing a moderately complex script (which makes use of some
>
other scripts) using Smile (a good applescript editor -
>
www.satimage-software.com). Until now, debuggin wasn't too problematic as
>
the script wasn't that complex. However, recently the use of dialog
>
boxes/logging to a file has become impractical - errors could have
occurred
>
in various files.
>
>
I'd like to import all my scripts into Applescript studio and use the
>
Project Builder IDE to walkthru the code, with breakpoints etc. How can I
>
do this? I set up an empty project, added my scripts to the project, even
>
created a target, but I can't work out how to run & debug my top-level
>
applescript.
>
>
Is this sort of thing possible/recommended in AppleScript Studio/Project
>
Builder? Anybody know how I can do it?
>
>
Note that I don't want to build this as an application, I just want to use
>
Project Builder's debugging interface. I was hoping that project
builder's
>
IDE would also prove useful in helping me manage the source files etc, but
>
the main requirement is to be able to walk thru the code as it executes.
>
>
If anybody has any recommendations of how to achieve this with PB, or even
>
any other software/IDE that would help me, I'd be very appreciative.
Surely
>
someone has done this before - is there that large a gap between simple
>
script editor scripts & applescript applications?
Debugging doesn't work properly for AppleScript in Project Builder, nor in
Xcode in Panther, for that matter. It only works for "major languages", not
for something so "minor "as AppleScript. Or something. I think AppleScript
was added as an "afterthought" after the debugging had already been
implemented for other languages - and AS must work very differently. Anyway,
forget about it (for years to come, quite possibly). Get Script Debugger -
it works, and is the best debugger you could ever want. It even has
extensions to work in Project Builder.
Rua Haszard Morris
Software Engineer & Research Assistant
MARCS Auditory Laboratories
http://www.uws.edu.au/marcs
Ph +61 2 97726723 Fax +61 2 97726326
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.