[Seaside] The session in the debugger

Michel Bany m.bany at wanadoo.fr
Sun Feb 4 18:36:00 UTC 2007


Philippe Marschall a écrit :
> Hi
>
> One of the most annoying things about Seaside for me is that you can't
> access the session in the debugger. Often when debugging code that
> needs to access some session data I find myself writing code like
> this:
>
> aBuggedMethod
>    "some code"
>    session := self session.
>    self halt.
>    "more code"
>
> and then restarting the method. I am sick of it. This just sucks. So
> recently I meant someone with too much time who would like to make a
> valuable contribution to Seaside. I told him about this and he said he
> would do it if I find at least 5 people to whom it is important.
>
> Personally I don't care how ugly the solution is as long as Seaside
> still works. It doesn't have to be a general solutions. It can be a
> very evil changeset that causes famine, plague, small pocks and
> shortens life by 10 years. That desperately I want it.
>
> If you feel the same way raise your hand now.
>
In the VisualWorks version of Seaside, I patched the VisualWorks 
debugger so that
the current session object is always available in the debugger if there 
is one.
See the lower right panes in this picture 
ftp://ftp.bany.fr/seaside/Session.gif
The code for this is in package Seaside-VW-Debugging.
Maybe that can be ported to Squeak.
HTH
Michel.


> Cheers
> Philippe
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> --------------------------------------------------------------------------------------- 
>
> Orange vous informe que cet  e-mail a ete controle par l'anti-virus 
> mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
>
>
>


More information about the Seaside mailing list