More weirdness
Peter Haworth
pete at lcsql.com
Sun Sep 30 12:30:01 EDT 2012
Hi Jacque,
Thanks for the suggestion. Initially, I thought this was occurring in the
plugin version of the stack (which runs modeless), but I can reproduce it
now in a regular toplevel stack.
Pete
lcSQL Software <http://www.lcsql.com>
On Sat, Sep 29, 2012 at 7:29 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:
> Maybe because you're opening a modal window from inside a non-toplevel
> stack? Just a guess.
>
> Since your stack is a plugin, you might have better luck if you use the
> IDE messages intended for those. It seems like your scripts get hung up
> mostly when they trap messages that the IDE also manipulates. If you can
> transfer your handlers to the plugin messages instead, you might avoid some
> of that. For example, you can set up your plugin to receive a revOpenStack
> message when a stack opens and run your handler from there instead of from
> openStack.
>
> There are tons of things going on in the IDE whenever a stack opens. All
> the pre- and open- messages bounce through a dozen libraries, frontscripts,
> backscripts, etc. and there's no telling which one will lock up debugging
> calls and cause breakpoints to abort. I think the rev plugin messages are
> sent after all the IDE stuff is over and done. By then you're safe.
>
> I vaguely recall this came up before and there was some reason you
> couldn't use those, but it might be worth re-exploring.
>
More information about the use-livecode
mailing list