Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugger?



Ordinarily I belong to the logging school and never bother with debuggers.

But I find logging frustrating in AppleScript because I end up spending so much time figuring out in each special case how intermediate values need to be referred to to not cause an arcane error. This is more the individual apps responsibility than Applescripts, but nonetheless...

In any case, the debugging features are glowingly featured in the ASS Marketing Crap; the fact that a year later they still don't actually work is YABM for Apple.


On Tuesday, August 12, 2003, at 01:21 PM, klaus umland wrote:

I find it rather easy to get along without a working debugger In AS Studio,
even with complex scripts. Whenever one needs to know about a value just log
it and its there in the run log. If you want it to break, use display
dialog.

I think bringing the debugger to life here would only make sense if it would
offer the possibility to alter script code while the app is running, without
recompiling it.



the debugger does sort of work, but has a bug when you have global
declarations in your script. Add the number of globals to the line
number where you want to break and set the breakpoint there and it
breaks.

Code inspection when stepping into script object handlers doesn't work
very well. You can still single step and inspect values (if you
explicitly declare them using local, which you also have to do in SD)
but you can't see where you are in the code.

Perusing the archives shows that the issues have been reported numerous
times on this list, over many months. So don't hold your breath.

Michael

On Tuesday, August 12, 2003, at 02:45 AM, Neil Faiman wrote:

So, is there *any* debugging capability for AppleScript Studio? I
haven't been able to set breakpoints (well, I can set them, they just
don't do anything), examine variables, or see where I am when an error
happens. I've assumed that the supposed debugging capability just
isn't implemented, but thought I ought to make sure that I'm not just
making a dumb mistake.

Thanks,

Neil Faiman
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Debugger? (From: klaus umland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.