Spurious errors while debugging v.8

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: Klaus, FourthWorld, heatherlaine, robinmiller, kevinmiller

VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 5822
Joined: Wed May 06, 2009 2:28 pm
Location: New York, NY

Re: Spurious errors while debugging v.8

Post by dunbarx » Mon Nov 20, 2017 3:13 am

The usual workaround, which Craig used, is to place the breakpoint after the offending line which gives the library a chance to reset the context.
Well, that does not help if the line in question is what you want to examine.

I think we must make "usual" the inclusion of explicit card and stack references where none should be needed, but where they now and then seem to be required. If "now and then" seems harmless and innocuous, I am little comforted by the fact that I have an awful lot of code that does not have this sort of treatment, never did nor needed to, and I fear that a standalone might fail.

Post Reply

Return to “Talking LiveCode”