How can I activate the Firefox debugger?

While debugging the JavaScript program that I wrote with Firebug, the Script panel stopped working and I received the following message:

debugger not activated

I looked through all the menus and submenus that I could find, but did not see the opportunity to turn this feature back on. The console.log() command also does not work in Firebug (although it does work in the devtools built-in console).

How to reactivate the Firebug Script panel? What could be the reason for this?

+7
firefox-addon firebug javascript-debugger activation
source share
4 answers

This may have various reasons. One of them is described in question 5646 , which is related to the return and transition in the browser history.

In such cases, a browser restart is usually required for reuse.

Note that Firebug prior to version 1.12 is based on the old debugger API, which opens with Firefox called JSD, which is not supported and does not work. Starting with version 2.0, Firebug uses a new debugger API that fixes this problem.

+3
source share

By the way, I just β€œfixed” the same problem with my Firebug. I went through the reinstallation, reset, etc., and nothing helped.

After some investigation, it came down to the contents of the page I was debugging. I have a function called by jQuery when the page load finishes:

 <script> $(onPageLoad); </script> 

Now this function asks the user to enter their name using the prompt () function. It turned out that Firebug does not activate the script panel until the prompt () function is closed. This is not a problem when you open only one page, since you just close the dialog and everything works. However, this is a problem when you have two identical pages open. The script panel does not work until you close both requests.

+2
source share

I had the same problem, and thanks to Roman Gurilink, I realized that the reason that the Firefox dialog invites you to insert the main password. When you set the master password for all saved passwords, FFox usually opens a dialog to ask it immediately after starting the program. BUT, sometimes this dialog goes beyond the main window, and you don’t notice it.

0
source share

Recently, I have run into this problem. I found that my Firebug did not update because my Firefox was stuck on 29.x. As soon as I updated my Firefox, a new Firebug was installed. It only supports Firefox 30+.

NOTE. Using OSX 1.9.3.

0
source share

All Articles