Re: spurious timeout on nth Apple event on Snow Leopard
Re: spurious timeout on nth Apple event on Snow Leopard
- Subject: Re: spurious timeout on nth Apple event on Snow Leopard
- From: Matt Neuburg <email@hidden>
- Date: Tue, 10 Nov 2009 16:06:23 -0800
- Thread-topic: spurious timeout on nth Apple event on Snow Leopard
On Tue, 10 Nov 2009 12:16:01 +0100, email@hidden said:
>Again, you can see that the rest-runs in Script Debugger produced 100%
consistent results (i is always exactly 65534). You're right, Script Debugger
shows about twice the events (I didn't noticed that). But that would mean the
bug is not about every 65536nth event lost but about twice the amount.
>That backups my guess that it not a 65534-counter-problem only. I think it's a
combination of something and it manifests differently.
>Or, it's just that AppleScript Debugger is so buggy that it leads to random
results.
>BUT, I know for sure that I already saw random results in Script Debugger, too.
All of this is just flailing and conjecture, and in any case it's mere
noise; it's beside the point. AppleScript is a victim of the problem but it
cannot portray the problem (my original script was just to help AppleScript
users see that it does exist).
The only real way to see the heart of the problem fully, reliably, and
quantitatively is to do something that AppleScript cannot do for you:
Examine the actual dynamically generated Reply ID value of an outgoing Apple
event and compare it with the actual Reply ID value of the corresponding
reply that comes back. I have written an application that does precisely
that, and it shows that when the outgoing Apple event's dynamically
generated Reply ID is -1, the corresponding reply's Reply ID is 0, which is
a mismatch (exactly as conjectured by Hamish).
m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden