<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.14">
<TITLE>Re: [Seaside] The session in the debugger</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>But you still can't step through code though or swipe and do-it, which would be nice, don't you think? Not a show stopper though that's for sure.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from a BlackBerry)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org <seaside-bounces@lists.squeakfoundation.org><BR>
To: The Squeak Enterprise Aubergines Server - general discussion. <seaside@lists.squeakfoundation.org><BR>
Sent: Sun Feb 04 10:36:00 2007<BR>
Subject: Re: [Seaside] The session in the debugger<BR>
<BR>
Philippe Marschall a écrit :<BR>
> Hi<BR>
><BR>
> One of the most annoying things about Seaside for me is that you can't<BR>
> access the session in the debugger. Often when debugging code that<BR>
> needs to access some session data I find myself writing code like<BR>
> this:<BR>
><BR>
> aBuggedMethod<BR>
> "some code"<BR>
> session := self session.<BR>
> self halt.<BR>
> "more code"<BR>
><BR>
> and then restarting the method. I am sick of it. This just sucks. So<BR>
> recently I meant someone with too much time who would like to make a<BR>
> valuable contribution to Seaside. I told him about this and he said he<BR>
> would do it if I find at least 5 people to whom it is important.<BR>
><BR>
> Personally I don't care how ugly the solution is as long as Seaside<BR>
> still works. It doesn't have to be a general solutions. It can be a<BR>
> very evil changeset that causes famine, plague, small pocks and<BR>
> shortens life by 10 years. That desperately I want it.<BR>
><BR>
> If you feel the same way raise your hand now.<BR>
><BR>
In the VisualWorks version of Seaside, I patched the VisualWorks<BR>
debugger so that<BR>
the current session object is always available in the debugger if there<BR>
is one.<BR>
See the lower right panes in this picture<BR>
<A HREF="ftp://ftp.bany.fr/seaside/Session.gif">ftp://ftp.bany.fr/seaside/Session.gif</A><BR>
The code for this is in package Seaside-VW-Debugging.<BR>
Maybe that can be ported to Squeak.<BR>
HTH<BR>
Michel.<BR>
<BR>
<BR>
> Cheers<BR>
> Philippe<BR>
> _______________________________________________<BR>
> Seaside mailing list<BR>
> Seaside@lists.squeakfoundation.org<BR>
> <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
> ---------------------------------------------------------------------------------------<BR>
><BR>
> Orange vous informe que cet e-mail a ete controle par l'anti-virus<BR>
> mail. Aucun virus connu a ce jour par nos services n'a ete detecte.<BR>
><BR>
><BR>
><BR>
_______________________________________________<BR>
Seaside mailing list<BR>
Seaside@lists.squeakfoundation.org<BR>
<A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
</FONT>
</P>
</BODY>
</HTML>