Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebug is stopping even where no breakpoint is set

Tags:

I'm using Firebug to debug javascript. It keeps breaking at heaps of places even though there are no breakpoints set. So, I find myself playing through about 30 places in the jQuery library where the debugger is stopping.

I've probably accidentally set some setting to a value to make it do this. It is not the yellow pause button.

Does anyone recognise this symptom. How can I go back to productively debugging javascript, so that it only stops at breakpoint set by me?

like image 371
onefootswill Avatar asked Nov 02 '11 02:11

onefootswill


People also ask

What is the replacement for FireBug in Firefox?

The Firefox JavaScript Debugger The successor to Firebug, Firefox Developer tools, was integrated into the Firefox Web browser in a range of utilities. The JavaScript Debugger is part of that suite of tools and is free to use.

How do you know where to place a breakpoint?

Set breakpoints in source code To set a breakpoint in source code: Click in the far left margin next to a line of code. You can also select the line and press F9, select Debug > Toggle Breakpoint, or right-click and select Breakpoint > Insert breakpoint. The breakpoint appears as a red dot in the left margin.

How do you run until breakpoint?

Just press c. It will continue execution until the next breakpoint.


2 Answers

I have found the solution to my problem. I just reset all options in Firebug.

To do this:

  1. click on the bug
  2. click the Options menu item (which slides a new menu to the right)
  3. click the item "Reset All Firebug Options"

That cleared it up.

Cheers

like image 136
onefootswill Avatar answered Oct 25 '22 20:10

onefootswill


I had the same problem firebug stopped in every exception. I am not sure from what version this exists but I have Firefox v59. In debugger tab disable "Ignore exceptions. Click to pause on uncaught exceptions". The right icon above "Watch expressions"

The right icon above "Watch expressions"

like image 39
Thanassis Avatar answered Oct 25 '22 22:10

Thanassis