Finding the calling code/object/script?
J. Landman Gay
jacque at hyperactivesw.com
Thu Aug 22 17:55:42 EDT 2013
On 8/22/13 3:57 PM, Dr. Hawkins wrote:
> On Thu, Aug 22, 2013 at 1:32 PM, Mark Schonewille
> <m.schonewille at economy-x-talk.com> wrote:
>>
>> The executionContexts contains a list of all handlers and objects that
>> called one of the handlers in the current chain.
>
> That is just perfect!
>
> word 1 of line 1 of the executionContexts is "field"
>
> when this happens!
>
> Thank you so much.
>
If this is just for debugging, you don't need to script it. Set a
breakpoint, and the executionContexts appear in a popdown button at the
top of the script editor. You can use that to backtrack through the
script to see what called what.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list