expanding an error description
Richard Gaskin
ambassador at fourthworld.com
Wed Jun 10 16:33:58 EDT 2009
Phil Davis wrote:
> I help maintain some software whose users can sometimes generate an
> error by entering malformed data in a given field (e.g. non-numeric data
> where math is done after data is moved into temp variables). What I'm
> looking for is some code that displays the contents of the variables
> containing malformed data. However, the error handling code is in a
> libraried stack so I assume I can't just "get the variableNames" from
> there and work with those, since the error occurred in the script of a
> different stack.
Rev's Variable Watcher or Ken's Variable Watcher in MC should provide an
example of what's needed. I believe at the core of it you're looking
for the debugContext.
--
Richard Gaskin
Fourth World
Revolution training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
More information about the use-livecode
mailing list