[Laszlo-dev] event sender
P T Withington
ptw at pobox.com
Thu Jun 23 19:00:04 PDT 2005
[Backtraces](http://openlaszlo.org/wiki/Embedded_Debugger) are
available in the development branch, but you have to be willing/able
to rebuild the runtime to enable them.
You can find out your immediate caller by using the undocumented
runtime value arguments.caller.
On 23 Jun 2005, at 20:14, Cameron Brown wrote:
>
> Is there any way while executing the code of an event-handling
> method to
> tell
> who called sendEvent()? What I really want is something like a
> stack trace
> I
> can print to the debug window.
>
> This would really help to figure out what causes bad interactions with
> Lazslo
> components. My problem du jour is trying to figure out why the
> tabelements
> in my tabslider keep getting resized down to just the height of the
> tabbutton
> despite being selected, but it is only one of many instances where
> my life
> would be greatly improved by a stack trace. It's not that I don't
> *like*
> poring
> over the the various lzx files that implement the components, but I
> just
> don't
> have the time for it these days :)
>
> Thank you,
> Cameron Brown
>
>
> _______________________________________________
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
>
More information about the Laszlo-dev
mailing list