Puzzling lack of debugging information
Graham Samuel
graham.samuel at blueyonder.co.uk
Sun Jan 22 05:00:26 EST 2006
This is about a problem I've had before and which I think may even
have been discussed on the list, but I can't find the reference.
I'm developing an app that has a start-up sequence where parameters
are set etc: this takes place in the mainstack and one of its cards,
and while testing using the RR IDE, I set it going by opening the
mainstack, then typing
send "startup" to this stack
in the message box (of course "startup" gets sent automatically in
the corresponding standalone).
This works beautifully if there are no errors in the setup sequence,
i.e. the scripts in the mainstack and some of its cards, and if there
is an error later on in running the app, the debugger opens normally.
However if there is an error during this initialisation sequence, the
debugger doesn't start up and I don't see the script error window.
Instead I get a comment in the message box
Message execution error:
Error description: Chunk: can't find background
(or whatever the error might be)
with no context information at all. I'm puzzled about why this
happens (how does the IDE 'know' that I'm running my initialisation
script rather than any subsequent script?) and I'd like to know if
there's anything I can do to get more information.
TIA
Graham
------------------------------------------------------------------------
---
Graham Samuel / The Living Fossil Co. / UK and France
More information about the use-livecode
mailing list