Anomalous Script behavior

Peter Haworth pete at lcsql.com
Fri Jul 24 13:58:57 EDT 2015


Hi Mark,
Unfortunately, I don't recall the exact circumstances where this happened
because it's been a while.  I seem to remember it was a call to one of the
datagrid library handlers with a bad parameter that caused the handler
containing the handler to stop executing with no error message shown.  I
should have submitted a QCC report and will be sure to do so if and when it
happens again.

I can say with confidence that it was with an LC version prior to 6.7 and
that it was not related to a player callback.

On Fri, Jul 24, 2015 at 9:42 AM Mark Waddingham <mark at livecode.com> wrote:

> Hi Peter,
>
> Do you see a similar thing in 6.7?
>
> The reason I ask is that if the problem is only occurring in an a handler
> being invoked by the engine as part of callbacks set by the callback
> property on a player it could be something to do with that specific case.
>
> The player implementation on Mac changed completely from 6.7 onwards...
>
> Mark.
>
> Sent from my iPhone
>
> > On 24 Jul 2015, at 06:15, Peter Bogdanoff <bogdanoff at me.com> wrote:
> >
> > Using LC 7.1 dp1
> >
> > Part of a script sometimes doesn’t function—sometimes it works just
> fine. Sometimes it refuses to continue to execute the rest of a handler.
> This refusal will happen over and over until some point in my testing it
> starts working again beautifully.
> >
> > It’s a group script with 35,655 characters. Is there a limit to the
> number of characters?
> >
> > I put in breakpoints that are sometimes reached, sometimes not.
> >
> > It’s a handler that is being called by callbacks in a player as the
> media plays, so it’s difficult to debug while the media is playing. So I
> put some code in to put data into a field when those lines of the script
> are reached. Then I can see the progression through the script in real
> time. When it’s not working properly, while the handler IS receiving the
> callback calls, that field stays empty.
> >
> > Any ideas?
> >
> > Peter Bogdanoff
> > UCLA
> > _______________________________________________
> > use-livecode mailing list
> > use-livecode at lists.runrev.com
> > Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> > http://lists.runrev.com/mailman/listinfo/use-livecode
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode



More information about the use-livecode mailing list