[Seaside] exceptions while debugging - frozen UI
Lukas Renggli
renggli at gmail.com
Thu Apr 10 14:41:19 UTC 2008
> > - click on the callback method, step over halt, step over zork
>
> I cannot reproduce that. I get an internal error displayed in the web browser.
Sorry, that's for Seaside 2.9.
> > - UI is frozen, image is still alive
And that's for Seaside 2.8 (what you are probably using):
> The problem is that you are trying to request another page in the same
> session, while you have the stepping debugger open. Every session has
> a mutex that prevents the handling of multiple requests though. Since
> the debugger runs in the GUI thread this locks up Squeak.
>
> If I press Ctrl+. and close the old debugger, I get a new one on the
> message not understood zork. So everything seems normal here.
>
> Generally you should avoid stepping over code that causes a response
> to be sent out to the browser, like the error with the #zork, or when
> doing a #call: or #answer:. In the current implementation this cannot
> possibly work within a single debugger, as there are many different
> processes involved (every request gets a new process).
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the seaside
mailing list