[Seaside-dev] debugging Scriptaculous from Smalltalk

Lukas Renggli renggli at gmail.com
Fri Feb 22 21:18:37 UTC 2008


>  I don't have a good idea on how to detect Errors in the SU stack,
>  without being able to ask a question like: "Is this an asynchronous HTTP
>  request?".
>
>  Poking around in the stack, there's nothing obvious to 'hang my hat on'...
>
>  Any ideas?

Yes, this is a problem, because there are some cases where there is no
way to reliably communicate the error to the web browser. What Squeak
tries to do in this case is to open up a debugger in the image
(#callback: in SURequest and SUEvaluator), but it does not necessarily
work in other cases. Normally SUUpdater and subclasses
(SUAutocompleter, SUInplaceEditor) should somehow show an error
message, however the web browser might decide not display the response
(due to some JavaScript logic, style-sheets that are applied, etc.).
In this cases it usually helps to have a closer look at the response
in FireBug.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list