Thank you :)

I'm sure you've heard it a lot, but your extension is real life
saver :)

On Jul 4, 8:04 am, johnjbarton <[email protected]> wrote:
> On Jul 4, 2:33 am, Unirgy <[email protected]> wrote:
>
> > Hi,
>
> > I'm trying to debug a javascript that is supplied in AJAX response
> > using <script> tags (with prototype.js Ajax.Request)
>
> > I was trying to find if there's a way to insert breakpoint using
> > console.* methods, as I can't really set the breakpoint using UI,
> > because the code is not there before AJAX is called. I couldn't find
> > such method, so my solution was to enable "Break on all errors" and
> > insert a deliberate syntax error.
>
> The usual way this is done is to load the page and cause the action
> that loads the ajax code. Then use the Script panel to set a
> breakpoint. Then reload or re-cause the ajax to load. Firebug will
> break into the debugger.
>
>
>
> > What I've found was - I had real JS errors and Firebug didn't show
> > them in Console tab.
>
> That's a bug. With Firefox it is hard to get this to work correctly, I
> keep trying. If you post a test case to the issues list I will try to
> get it to work.
>
>
>
> > So I think I have a bug report and a feature suggestion:
> > console.break();
>
> Use the javascript keyword 'debugger;' for this, that is a single word
> statement like:
>    debugger;
>
> jjb
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Firebug" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/firebug?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to