Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I activate the Firefox debugger?

While debugging a JavaScript program I was writing with Firebug, the Script panel stopped working and I got the following message:

debugger not activated

I went through all menus and sub-menus I could find but didn't see a option to re-enable this feature. The console.log() command doesn't work in Firebug as well (while it does work in the built-in devtools' console).

How can I re-activate the Firebug Script panel? What may have caused this?

like image 831
Math chiller Avatar asked Jan 29 '14 14:01

Math chiller


People also ask

How do I set breakpoints in Firefox?

You can set an unconditional breakpoint using the context menu (see above), or by: Clicking on the line number for the line you want to break at in the source pane. Highlighting the line you want to break at in the source pane and pressing Ctrl + B (Windows/Linux) or Cmd + B (macOS).

How do I enable my Firefox browser toolbox?

Opening the Browser Toolbox You can also open it with the Ctrl + Alt + Shift + I key combination ( Cmd + Opt + Shift + I on a Mac).


1 Answers

This may have different causes. One of them is described in issue 5646, which is related to going back and forward in the browser history.

In such cases it normally requires a browser restart to work again.

Note that Firebug up to version 1.12 is based on an old debugger API exposed by Firefox called JSD, which is unmaintained and buggy. Since version 2.0 Firebug uses a new debugger API, which fixes this problem.

like image 91
Sebastian Zartner Avatar answered Sep 20 '22 23:09

Sebastian Zartner