<!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.59">
<TITLE>Re: [Seaside] [Firebug] Programmatic halt</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Could you collect all your custom generated js from all components into a single 'file' at the time of page generation? I imagine that would solve the problem as well as make it easier on the browser.<BR>
<BR>
Cheers!<BR>
<BR>
-Boris<BR>
(Sent from an iPhone... Not!)<BR>
<BR>
----- Original Message -----<BR>
From: seaside-bounces@lists.squeakfoundation.org &lt;seaside-bounces@lists.squeakfoundation.org&gt;<BR>
To: 'Seaside - general discussion' &lt;seaside@lists.squeakfoundation.org&gt;<BR>
Sent: Tue Jul 10 05:42:07 2007<BR>
Subject: RE: [Seaside] [Firebug] Programmatic halt<BR>
<BR>
Hi Boris!<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; well Firegub is managing it like if they where inside an eval so<BR>
does not show the code as one expect to be shown. Thanks for the reference<BR>
anyway.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The thing is that it works well when you make a classic js script in<BR>
a separate file with all the js code there. But the fact is that I'm using<BR>
js a lot more *smalltalkishly* than that. I install functions in js objects<BR>
defined at seaside components and that ends loaded up in the js objects fine<BR>
but in the sense of classic source code script &quot;there is no script&quot;. I mean<BR>
there is one with minimal functionality (that I debug clasically) and the<BR>
rest is loaded &quot;taylorly&quot; from code found at attributes of the element's<BR>
wraper div. The installation of the functions is made just after the<BR>
homologous (to seaside component) js object is created.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; I works like a charm, injects simplicity to smalltalk and js at once<BR>
(by injecting the smalltalk way in js) but it seems to be too much for<BR>
Firebug at debug time. I mean a smalltalk debugger in js will can you<BR>
imagine?<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cheers,<BR>
<BR>
Sebastian Sastre<BR>
<BR>
<BR>
&gt; -----Mensaje original-----<BR>
&gt; De: seaside-bounces@lists.squeakfoundation.org<BR>
&gt; [<A HREF="mailto:seaside-bounces@lists.squeakfoundation.org">mailto:seaside-bounces@lists.squeakfoundation.org</A>] En nombre<BR>
&gt; de Boris Popov<BR>
&gt; Enviado el: Lunes, 09 de Julio de 2007 18:03<BR>
&gt; Para: Seaside - general discussion<BR>
&gt; Asunto: RE: [Seaside] [Firebug] Programmatic halt<BR>
&gt;<BR>
&gt; Try,<BR>
&gt;<BR>
&gt; console.error(&quot;kind of like a breakpoint&quot;)<BR>
&gt;<BR>
&gt; It won't immediately bring up a breakpoint window, but you'll<BR>
&gt; be able to click on a link and go straight to the bit of JS<BR>
&gt; code where this was called.<BR>
&gt;<BR>
&gt; Hope this helps, see more over at,<BR>
&gt;<BR>
&gt; <A HREF="http://www.getfirebug.com/console.html">http://www.getfirebug.com/console.html</A><BR>
&gt;<BR>
&gt; Cheers!<BR>
&gt;<BR>
&gt; -Boris<BR>
&gt;<BR>
&gt; --<BR>
&gt; +1.604.689.0322<BR>
&gt; DeepCove Labs Ltd.<BR>
&gt; 4th floor 595 Howe Street<BR>
&gt; Vancouver, Canada V6C 2T5<BR>
&gt; <A HREF="http://tinyurl.com/r7uw4">http://tinyurl.com/r7uw4</A><BR>
&gt;<BR>
&gt; boris@deepcovelabs.com<BR>
&gt;<BR>
&gt; CONFIDENTIALITY NOTICE<BR>
&gt;<BR>
&gt; This email is intended only for the persons named in the<BR>
&gt; message header. Unless otherwise indicated, it contains<BR>
&gt; information that is private and confidential. If you have<BR>
&gt; received it in error, please notify the sender and delete the<BR>
&gt; entire message including any attachments.<BR>
&gt;<BR>
&gt; Thank you.<BR>
&gt;<BR>
&gt; &gt; -----Original Message-----<BR>
&gt; &gt; From: seaside-bounces@lists.squeakfoundation.org [<A HREF="mailto:seaside-">mailto:seaside-</A><BR>
&gt; &gt; bounces@lists.squeakfoundation.org] On Behalf Of Sebastian Sastre<BR>
&gt; &gt; Sent: Monday, July 09, 2007 12:31 PM<BR>
&gt; &gt; To: 'Seaside - general discussion'<BR>
&gt; &gt; Subject: [Seaside] [Firebug] Programmatic halt<BR>
&gt; &gt;<BR>
&gt; &gt; Hi there,<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; anybody knows how to do a programmatic halt for js code<BR>
&gt; so firebug<BR>
&gt; &gt; stops there?<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I need that because I'm not defining all the js code in<BR>
&gt; one script<BR>
&gt; &gt; &quot;file&quot; (which is actually a method in a FileLibrary) but kind of<BR>
&gt; &gt; fragmented. I'm making that because the definition of the<BR>
&gt; behavior of<BR>
&gt; js<BR>
&gt; &gt; objecs is dynamic and &quot;expectorated&quot; from the seaside<BR>
&gt; components. So I<BR>
&gt; &gt; will be unable to pre click (to set the red dot) a typical JS file<BR>
&gt; line of<BR>
&gt; &gt; code as usually in firebug.<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; I saw that using &quot;debugger&quot; works for halting js code<BR>
&gt; in IE. I'll<BR>
&gt; love<BR>
&gt; &gt; to use exacly something like that but in firebug. Is the js<BR>
&gt; version of<BR>
&gt; our<BR>
&gt; &gt; beloved &quot;self halt&quot;.<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Anybody has a clue?<BR>
&gt; &gt;<BR>
&gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Thanks,<BR>
&gt; &gt;<BR>
&gt; &gt; Sebastian Sastre<BR>
&gt; &gt;<BR>
&gt; &gt;<BR>
&gt;<BR>
&gt;<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>