Marcin Tustin | 12 Jul 22:45

Re: Tracing execution of seaside apps

OK, thanks very much. I've learned a few good things.

On 7/12/08, Lukas Renggli <renggli <at> gmail.com> wrote:
> infinite loop, so the page never got rendered. Does the profiler run every
> time (My guess is not) or does it re-run the page with the MessageTally
> attached?


The profiler runs every time a page is rendered.


> If the latter, is there a way to either switch on the profiler
> every time, or force page rendering in the profiler without hitting the
> profile link?


No, that's not possible. What you can do is to wrap the code of yours
that you want to profile into:

    MessageTally spyOn: [ ... ]

This will open a profile (within the image) every time you refresh the page.


> I'm not familiar enough with seaside yet to find out how to do
> that on my own (especially as "browse references" option shows no references
> to WAProfilerToolPlugin).


WAProfileToolPlugin is just the link in the toolbar. Seaside collects
all toolbar-plugins by iterating over the subclasses of WAToolPlugin.
That's why there is no direct reference.


Cheers,
Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
seaside mailing list
seaside <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
seaside <at> lists.squeakfoundation.org
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

Gmane