<!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 &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: The Squeak Enterprise Aubergines Server - general discussion. &lt;seaside@lists.squeakfoundation.org&gt;<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>
&gt; Hi<BR>
&gt;<BR>
&gt; One of the most annoying things about Seaside for me is that you can't<BR>
&gt; access the session in the debugger. Often when debugging code that<BR>
&gt; needs to access some session data I find myself writing code like<BR>
&gt; this:<BR>
&gt;<BR>
&gt; aBuggedMethod<BR>
&gt;&nbsp;&nbsp;&nbsp; &quot;some code&quot;<BR>
&gt;&nbsp;&nbsp;&nbsp; session := self session.<BR>
&gt;&nbsp;&nbsp;&nbsp; self halt.<BR>
&gt;&nbsp;&nbsp;&nbsp; &quot;more code&quot;<BR>
&gt;<BR>
&gt; and then restarting the method. I am sick of it. This just sucks. So<BR>
&gt; recently I meant someone with too much time who would like to make a<BR>
&gt; valuable contribution to Seaside. I told him about this and he said he<BR>
&gt; would do it if I find at least 5 people to whom it is important.<BR>
&gt;<BR>
&gt; Personally I don't care how ugly the solution is as long as Seaside<BR>
&gt; still works. It doesn't have to be a general solutions. It can be a<BR>
&gt; very evil changeset that causes famine, plague, small pocks and<BR>
&gt; shortens life by 10 years. That desperately I want it.<BR>
&gt;<BR>
&gt; If you feel the same way raise your hand now.<BR>
&gt;<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>
&gt; Cheers<BR>
&gt; Philippe<BR>
&gt; _______________________________________________<BR>
&gt; Seaside mailing list<BR>
&gt; Seaside@lists.squeakfoundation.org<BR>
&gt; <A HREF="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A><BR>
&gt; ---------------------------------------------------------------------------------------<BR>
&gt;<BR>
&gt; Orange vous informe que cet&nbsp; e-mail a ete controle par l'anti-virus<BR>
&gt; mail. Aucun virus connu a ce jour par nos services n'a ete detecte.<BR>
&gt;<BR>
&gt;<BR>
&gt;<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>