Painfully slow passive firebug

73 views
Skip to first unread message

David

unread,
Feb 2, 2012, 10:08:19 PM2/2/12
to Firebug
I want to debug a script after a rather lengthy initialization
process. For some reason, firebug is slowing down the execution of
that initialization by a significant factor, so that something that
should only take a few seconds is taking 10 minutes or more. What I'd
really like to do is activate firebug when the init is finished. But
when I try to do that, I can't inspect scripts because firebug tells
me they weren't loaded and I need to reload the page to see them.
Which takes me back to the slow initialization.

1. Should firebug be slowing my script down so significantly? For
weird reasons, this is a single, very large script---could that be the
reason?
2. Is there a way to get firebug to load the scripts for inspection
but otherwise not be involved until after the initialization (at which
point I want to set a breakpoint and invoke a particular function)?

Thanks!

Jan Honza Odvarko

unread,
Feb 3, 2012, 2:12:45 AM2/3/12
to fir...@googlegroups.com


On Friday, February 3, 2012 4:08:19 AM UTC+1, David wrote:
I want to debug a script after a rather lengthy initialization
process.  For some reason, firebug is slowing down the execution of
that initialization by a significant factor, so that something that
should only take a few seconds is taking 10 minutes or more.  What I'd
really like to do is activate firebug when the init is finished.  But
when I try to do that, I can't inspect scripts because firebug tells
me they weren't loaded and I need to reload the page to see them.
Which takes me back to the slow initialization.

1.  Should firebug be slowing my script down so significantly?  For
weird reasons, this is a single, very large script---could that be the
reason?
I don't think the slowdown should be so significant.

Could I try your script on my machine?
 
2.  Is there a way to get firebug to load the scripts for inspection
but otherwise not be involved until after the initialization (at which
point I want to set a breakpoint and invoke a particular function)?
No, the debugger service needs to be activated before any script on the page is loaded,
to properly collect all necessary debugging info.

Honza
 

Thanks!

dindog

unread,
Feb 3, 2012, 2:32:56 AM2/3/12
to fir...@googlegroups.com
I can confirm that sometimes firebug acts very slow with break point when refresh a page after a few debug routine.


Thanks!

--
You received this message because you are subscribed to the Google
Groups "Firebug" group.
To post to this group, send email to fir...@googlegroups.com
To unsubscribe from this group, send email to
firebug+u...@googlegroups.com
For more options, visit this group at
https://groups.google.com/forum/#!forum/firebug

Jan Honza Odvarko

unread,
Feb 3, 2012, 2:50:58 AM2/3/12
to fir...@googlegroups.com
On Friday, February 3, 2012 8:32:56 AM UTC+1, dindog wrote:
I can confirm that sometimes firebug acts very slow with break point when refresh a page after a few debug routine.
How can I reproduce the problem?
Honza

dindog

unread,
Feb 3, 2012, 4:44:54 AM2/3/12
to fir...@googlegroups.com
I just ran into it now and then. I will notice next time.

David

unread,
Feb 3, 2012, 1:28:03 PM2/3/12
to Firebug
Hi Jan. Here's one example. It seems to be somewhat slow when
accessed via http:// and _really_ slow when accessed as a local file://

1. visit http://projects.csail.mit.edu/exhibit/Dido/Download/dido-full.html
and view in firefox
2. enable firebug and revisit the link---it's a little slower
3. download the file (don't use file >> save on the copy in your
browser window; the document has been modified and won't save right)
4. open the local file---still fast
5. enable firebug and reload the file----super slow
Reply all
Reply to author
Forward
0 new messages