[Seaside] Tracing execution of seaside apps

Marcin Tustin mm3 at zepler.net
Sat Jul 12 20:45:19 UTC 2008


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20080712/4d356709/attachment-0001.htm


More information about the seaside mailing list