Stack Trace Function

Len Morgan len-morgan at crcom.net
Fri Jun 22 09:25:35 EDT 2007


In trying to debug a rather complex application, I'm wondering if there 
is some sort of "stack trace" fuction (like there is in Tcl/Tk) so that 
when a message is sent, I can see the calling sequence that got me there?

What's happening is that I have a message that clears a group when the 
group is selected (kind of like a tabbed group) and also whenever a new 
record is read while the group is being already being displayed (I don't 
want to leave data from a prior record in a field that might not be used 
in the current record).  When I select a new record, the fields are 
getting cleared 2 or 3 times (the screen blinks) and I can't find all 
the places that are calling that routine (and in what order).

It doesn't have to be fancy, just some what to see who's calling who, when.

Len Morgan



More information about the use-livecode mailing list