Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Firebug hitting non-existent break points?

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...

like image 307
Abe Miessler Avatar asked Feb 02 '23 10:02

Abe Miessler


2 Answers

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!


like image 51
Erin Call Avatar answered Feb 05 '23 00:02

Erin Call


There is nothing wrong with firefox, this is happening because you might have enabled auto breakpoints. Check here http://getfirebug.com/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.

like image 40
Saurabh Kumar Avatar answered Feb 04 '23 22:02

Saurabh Kumar