Firebug waits for invisible breakpoints if Script tab is enabled and blocks entire page load

283 views
Skip to first unread message

Andy

unread,
Oct 3, 2011, 2:33:22 PM10/3/11
to fir...@googlegroups.com
I have been experiencing a problem consistently with Firebug blocking page load if the script tab is enabled. Here is what happens:

 - With the script tab enabled:
 - On page load (like refresh), the page will not load fully and just show the spinner for the favicon
 - The script tab opens with a line highlighted in yellow with a yellow arrow to the left of it. It is not a breakpoint. There is no red circle and there are no breakpoints listed on the breakpoints tab.
 - The whole page hangs and nothing happens
 - If I click the PLAY button (a few times) page execution continues as normal. This is weird since there is definitely not a breakpoint there.

In at least one case, the line it's hanging on appears to be arbitrary:
try { toStrings[toString.call(new constructor)] = type.toLowerCase(); }

This has stuck around for at least 3 Firefox versions (I'm running 7.0.1 on OSX). Uninstalling and reinstalling Firebug has not fixed this issue. The only way around it is to disable the script tab. Is there some silly breakpoint cache somewhere that isn't getting deleted, or has anyone else had a similar issue?

Jan Honza Odvarko

unread,
Oct 4, 2011, 8:07:37 AM10/4/11
to Firebug
Go to your Firefox profile and look for firebug/breakpoints.js

Does the problem persist if you remove the breakpoints file?

Honza

Andy

unread,
Oct 11, 2011, 6:57:37 PM10/11/11
to fir...@googlegroups.com

Yup, still persists. Here's what firebug looks like. You can see the highlighted line even though there is no breakpoint there. I have to hit "disable" a few times or "play" a few times. I can't even reload the page while it's in this state, Firebug just eats everything.

 




Steven Roussey

unread,
Oct 11, 2011, 9:38:49 PM10/11/11
to fir...@googlegroups.com
Kinda looks like you have break-on-error on and it is breaking on an error.

Jan Honza Odvarko

unread,
Oct 12, 2011, 2:11:21 AM10/12/11
to Firebug
On Oct 12, 3:38 am, Steven Roussey <srous...@gmail.com> wrote:
> Kinda looks like you have break-on-error on and it is breaking on an error.
Yep, exactly. Make sure that extensions.firebug.breakOnErrors
preference is
set to false to *not* break on an error.

Honza
Reply all
Reply to author
Forward
0 new messages