[Seaside] [Firebug] Programmatic halt

Boris Popov boris at deepcovelabs.com
Mon Jul 9 21:02:39 UTC 2007


Try,

console.error("kind of like a breakpoint")

It won't immediately bring up a breakpoint window, but you'll be able to
click on a link and go straight to the bit of JS code where this was
called.

Hope this helps, see more over at,

http://www.getfirebug.com/console.html

Cheers!

-Boris

-- 
+1.604.689.0322
DeepCove Labs Ltd.
4th floor 595 Howe Street
Vancouver, Canada V6C 2T5
http://tinyurl.com/r7uw4

boris at deepcovelabs.com

CONFIDENTIALITY NOTICE

This email is intended only for the persons named in the message
header. Unless otherwise indicated, it contains information that is
private and confidential. If you have received it in error, please
notify the sender and delete the entire message including any
attachments.

Thank you.

> -----Original Message-----
> From: seaside-bounces at lists.squeakfoundation.org [mailto:seaside-
> bounces at lists.squeakfoundation.org] On Behalf Of Sebastian Sastre
> Sent: Monday, July 09, 2007 12:31 PM
> To: 'Seaside - general discussion'
> Subject: [Seaside] [Firebug] Programmatic halt
> 
> Hi there,
> 
>     anybody knows how to do a programmatic halt for js code so firebug
> stops there?
> 
>     I need that because I'm not defining all the js code in one script
> "file" (which is actually a method in a FileLibrary) but kind of
> fragmented. I'm making that because the definition of the behavior of
js
> objecs is dynamic and "expectorated" from the seaside components. So I
> will be unable to pre click (to set the red dot) a typical JS file
line of
> code as usually in firebug.
> 
>     I saw that using "debugger" works for halting js code in IE. I'll
love
> to use exacly something like that but in firebug. Is the js version of
our
> beloved "self halt".
> 
>     Anybody has a clue?
> 
>     Thanks,
> 
> Sebastian Sastre
> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: firebug.png
Type: image/png
Size: 9160 bytes
Desc: firebug.png
Url : http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070709/3f3e2364/firebug.png


More information about the Seaside mailing list