firebug breakpoint problems

48 views
Skip to first unread message

Jonathan Mills

unread,
Apr 17, 2016, 3:08:54 AM4/17/16
to Firebug
I've been trying to use firebug (2.0.16 / FF 45.0.2 / Windows 10), but I have hit a problem.  Code snippet attached, but relevant bits here.

function start() {
  setTimeout
(monitorOutstanding, 1000)
}

function monitorOutstanding() {

 
// The next line is "Line B"
 
var nextTimeout=1000

 
// The next line is "Line A"
 
if (nextTimeout !== 0) setTimeout('monitorOutstanding()',nextTimeout)
}


 ... If I set the breakpoint on "Line A" (the if statement), that is marked ok, and I reload the page and the breakpoint is hit as expected.

But if I try and set another breakpoint - say "Line B", the red breakpoint glyph does not appear.

If I click on the red glyph on Line A, it vanishes.

If I then click on Line B again to establish the breakpoint - a breakpoint re-appears -- but on Line A!

I have tried creating a new profile and only loading Firebug; it still fails.  Any ideas?

I did wonder about reporting it as a bug, but https://code.google.com/archive/p/fbug/wikis/Issues.wiki says "report firebug 2 problems here" and takes me to a page where I can see issues but not report them.

I have had to debug the problems which led to this with Chrome, which isn't as pleasant an experience.

Jonathan



AfirebugTest.html

Sebastian Zartner

unread,
Apr 21, 2016, 5:28:33 AM4/21/16
to Firebug
Trying this in a new Firefox profile on Windows 7 with the same Firefox and Firebug versions as you I first couldn't see this problem, but after some switching between tabs and restarting the browser it happened to me, too. Though a simple page reload could always fix those issues.

While testing this I ran into another (known) issue, which is a throbber shown forever instead of the breakpoint.

Note that Firebug 3 will integrate into the built-in DevTools, which obviously don't have this issue. As focus lies on Firebug 3 development, I also doubt that this bug will still be fixed for Firebug 2. So I suggest to give the built-in Firefox DevTools a try. (Note: Their debugger can be opened via Ctrl+Shift+S.)

Sebastian

Jonathan Mills

unread,
Apr 21, 2016, 3:00:05 PM4/21/16
to Firebug
Thanks for the comment.  I tried Firebug 3.0Beta3 with the same Firefox, but, I'm afraid that I had similar problems

I'll try it without Firebug at all and see if it's a Firefox issue underlying it.

Reply all
Reply to author
Forward
0 new messages