<!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 <seaside-bounces@lists.squeakfoundation.org><BR>
To: 'Seaside - general discussion' <seaside@lists.squeakfoundation.org><BR>
Sent: Tue Jul 10 05:42:07 2007<BR>
Subject: RE: [Seaside] [Firebug] Programmatic halt<BR>
<BR>
Hi Boris!<BR>
<BR>
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>
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 "there is no script". I mean<BR>
there is one with minimal functionality (that I debug clasically) and the<BR>
rest is loaded "taylorly" 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>
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>
cheers,<BR>
<BR>
Sebastian Sastre<BR>
<BR>
<BR>
> -----Mensaje original-----<BR>
> De: seaside-bounces@lists.squeakfoundation.org<BR>
> [<A HREF="mailto:seaside-bounces@lists.squeakfoundation.org">mailto:seaside-bounces@lists.squeakfoundation.org</A>] En nombre<BR>
> de Boris Popov<BR>
> Enviado el: Lunes, 09 de Julio de 2007 18:03<BR>
> Para: Seaside - general discussion<BR>
> Asunto: RE: [Seaside] [Firebug] Programmatic halt<BR>
><BR>
> Try,<BR>
><BR>
> console.error("kind of like a breakpoint")<BR>
><BR>
> It won't immediately bring up a breakpoint window, but you'll<BR>
> be able to click on a link and go straight to the bit of JS<BR>
> code where this was called.<BR>
><BR>
> Hope this helps, see more over at,<BR>
><BR>
> <A HREF="http://www.getfirebug.com/console.html">http://www.getfirebug.com/console.html</A><BR>
><BR>
> Cheers!<BR>
><BR>
> -Boris<BR>
><BR>
> --<BR>
> +1.604.689.0322<BR>
> DeepCove Labs Ltd.<BR>
> 4th floor 595 Howe Street<BR>
> Vancouver, Canada V6C 2T5<BR>
> <A HREF="http://tinyurl.com/r7uw4">http://tinyurl.com/r7uw4</A><BR>
><BR>
> boris@deepcovelabs.com<BR>
><BR>
> CONFIDENTIALITY NOTICE<BR>
><BR>
> This email is intended only for the persons named in the<BR>
> message header. Unless otherwise indicated, it contains<BR>
> information that is private and confidential. If you have<BR>
> received it in error, please notify the sender and delete the<BR>
> entire message including any attachments.<BR>
><BR>
> Thank you.<BR>
><BR>
> > -----Original Message-----<BR>
> > From: seaside-bounces@lists.squeakfoundation.org [<A HREF="mailto:seaside-">mailto:seaside-</A><BR>
> > bounces@lists.squeakfoundation.org] On Behalf Of Sebastian Sastre<BR>
> > Sent: Monday, July 09, 2007 12:31 PM<BR>
> > To: 'Seaside - general discussion'<BR>
> > Subject: [Seaside] [Firebug] Programmatic halt<BR>
> ><BR>
> > Hi there,<BR>
> ><BR>
> > anybody knows how to do a programmatic halt for js code<BR>
> so firebug<BR>
> > stops there?<BR>
> ><BR>
> > I need that because I'm not defining all the js code in<BR>
> one script<BR>
> > "file" (which is actually a method in a FileLibrary) but kind of<BR>
> > fragmented. I'm making that because the definition of the<BR>
> behavior of<BR>
> js<BR>
> > objecs is dynamic and "expectorated" from the seaside<BR>
> components. So I<BR>
> > will be unable to pre click (to set the red dot) a typical JS file<BR>
> line of<BR>
> > code as usually in firebug.<BR>
> ><BR>
> > I saw that using "debugger" works for halting js code<BR>
> in IE. I'll<BR>
> love<BR>
> > to use exacly something like that but in firebug. Is the js<BR>
> version of<BR>
> our<BR>
> > beloved "self halt".<BR>
> ><BR>
> > Anybody has a clue?<BR>
> ><BR>
> > Thanks,<BR>
> ><BR>
> > Sebastian Sastre<BR>
> ><BR>
> ><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>