admin管理员组

文章数量:1279056

I've been using Firebug to debug some javascript I have on one of my pages. Recently it has started hitting non-existent "break points" at seemingly random spots in my javascript. It seems like most of these points are in third party libraries like jQuery, but it also stops on custom javascript.

I'm not seeing any errors at these lines and I definitely don't have break points there. Can anyone think of why Firebug would be stopping here? It's getting to the point where I have to hit the "Continue" button about 20 times to get the page to finish Javascript execution...

I've been using Firebug to debug some javascript I have on one of my pages. Recently it has started hitting non-existent "break points" at seemingly random spots in my javascript. It seems like most of these points are in third party libraries like jQuery, but it also stops on custom javascript.

I'm not seeing any errors at these lines and I definitely don't have break points there. Can anyone think of why Firebug would be stopping here? It's getting to the point where I have to hit the "Continue" button about 20 times to get the page to finish Javascript execution...

Share Improve this question asked Dec 30, 2011 at 17:34 Abe MiesslerAbe Miessler 85.1k104 gold badges320 silver badges495 bronze badges 9
  • I don't have an answer, but I've been experiencing the exact same thing - so you're not alone. I found stackoverflow./questions/6259604/…, but this is not the same problem, as I already checked that. – ziesemer Commented Dec 30, 2011 at 17:37
  • Are you auto-pausing on anything other than breakpoints, like exceptions? – davin Commented Dec 30, 2011 at 17:39
  • Have you tried to reinitialize all Firebug options ? – Golmote Kinoko Commented Dec 30, 2011 at 17:53
  • Do you see any breakpoints in the breakpoints tab? (right pane-> Watch | Stack | Breakpoints) – Selvakumar Arumugam Commented Dec 30, 2011 at 17:53
  • @SKS - Yes I had 4 break points there, but none that were anywhere near where it was stopping. Just to be safe I deleted them all and it's still happening. – Abe Miessler Commented Dec 30, 2011 at 18:00
 |  Show 4 more ments

3 Answers 3

Reset to default 6

I had this problem and fixed it like so:

  1. Uninstall firebug in the firefox add-ons manager
  2. Close firefox
  3. rm -rf profile_folder/firebug
  4. Delete all firebug-related lines from profile_folder/prefs.js
  5. Reinstall firebug

Hope this helps!


There is nothing wrong with firefox, this is happening because you might have enabled auto breakpoints. Check here http://getfirebug./wiki/index.php/Script_Panel for more details about what i am talking about. Disable them on console and script panel and everything will be solved.

This question is old, but it is also the top result for searches: like firebug random breakpoints.

In my experience, assuming this is not due to break on exception or other settings, every time this happens to me there is some collision with jQuery, or another library. Sometimes even name spacing does not keep you safe, and this is very hard to debug.

Most recently I had a function named: name_space1.nestedns.focusCursor(). Something was messing with my focusCursor function.. didn’t figure out what, just changed the name.

Farther in the past I had a function or var named ns.panyabreviationToolTip... and there was collision and breaking on this as well. Changed ToolTip to something obscure, and everything was happy. Maybe firebug has a secret break on collision setting. If this is a bug, I hope it does not get fixed… it seems useful.

本文标签: javascriptWhy is Firebug hitting nonexistent break pointsStack Overflow