[Seaside] Re: Re: Debugging - how to flush current output to browser?

Philippe Marschall philippe.marschall at gmail.com
Thu Dec 4 07:37:59 UTC 2008


2008/12/4 Sophie (itsme213) <itsme213 at hotmail.com>:
> "Lukas Renggli" <renggli at gmail.com> wrote in message
>>>> Inspect "html context document" and send that back to the client.
>>>
>>> Sounds perfect. How do I "send that back to the client"?
>>
>> See the other thread: "[Seaside] callback returning content"
>
>
> self session returnResponse: (WAResponse new
>    nextPutAll: '...';
>    yourself).
>
> Can I access "self session" in the debugger in 2.8? In 2.9?

2.8:
I think Klaus Witzel once posted and evil change set that does this.


When I need the session in the debugger I usally add the following
code to the method and hit proceed.

| session |
session := self session.
self halt.

Cheers
Philippe


More information about the seaside mailing list