XCode v.s. Script Editor for script development

Forgive me if this question has already been asked and answered, but I could not find it.

I have been using the script editor applictation for all of my script development so far and it seems for work well. I was introduced to XCode/Apple Script Studio and it seems like a more powerful programming environment, with an integrated debugger.

My question is, can I use XCode to develop/debug basic (no gui) apple scripts? Every project I create includes a GUI by default. Is this just the way it works, or is there some sort of a workaround.

OS X 10.4.2
XCode 2.1
Thanks,
Matt

Script Editor if you’re not going to use AppleScript Studio. It’s the same language, only AppleScript Studio has access to it’s GUI and calls to ObjectiveC functions included in the app.

I know what the difference between the 2 Apps is. Perhaps I should re-phrase my question. I am wondering if I can use the XCode debugger (set break points, step through a script) with a non-GUI applescript. I’d prefer not to pay $$$ for the Script Debugger from Latenight Software.

From reading “Applescript: The Missing Manual” it seemed to indicate you could debug non-gui apps, using Xcode. I just can’t figure out how to do it.

Doubtful…why can’t you debug your apps using the error messages you get?

The Xcode debugger is not for AppleScript. If the error handling and Script Editor’s Event Log aren’t enough for you, then perhaps you should consider Script Debugger.