Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Don't see any scripts in Firebug "Script" menu

Tags:

firebug

I have enabled Firebug for scipts for my site.

But I do not see any in the Script dropdwon menu.

The Net tab has them listed as ok.

I tried another web site not mine same thing?

like image 450
Malcolm Avatar asked Apr 28 '09 10:04

Malcolm


6 Answers

Same as @SebastianZartner said:

Since Firefox 50 the Script panel does not work anymore!

Firebug won't work anymore once multi-process Firefox is enabled and features like the Script panel are already starting to break.

So it seems we invited to:

Firefox DevTools in Firefox Developer Edition

It provide a Firebug theme to make the transition not too hard

enter image description here


It look likes nice but Firefox team should work on it hard!

When i compare Google Chrome Web Inspector And Firefox DevTools in Firefox developer edition, Chrome Web Inspector wins! But i love Firefox, and i update it to find it as a superpower debugger in its next versions.

like image 164
Ramin Bateni Avatar answered Nov 09 '22 16:11

Ramin Bateni


I was having trouble with Firebug the last couple days while doing some javascript development as well. Most of the time the javascript files are available on the scripts tab, but sometimes they are not (even though they are listed on other tabs). I have found that if I disable and then re-enable the script tab followed by refreshing the page then the scripts start to show up again.

Hope you find this helpful.

like image 8
jwmajors81 Avatar answered Nov 09 '22 15:11

jwmajors81


The answer for this is given in the Firebug FAQ. In older Firefox versions this is generally due to a syntax error in your script. So, you should check your Console panel for errors related to your code.

Though note that since Firefox 50 the Script panel does not work anymore. I.e. it always shows that message even when the scripts do not have any syntax errors. This is obviously due to a change in the Firefox code. And because Firebug is not maintained anymore, this bug won't get fixed anymore. Therefore, Firebug users are advised to switch to the Firefox DevTools.

like image 4
Sebastian Zartner Avatar answered Nov 09 '22 14:11

Sebastian Zartner


None of these solutions helped me. But I found another solution. In the Net tab right click on the script you wish to view/debug, and click on 'Inspect in Script Tab'. This immediately brought up the script I needed to debug in the Script tab.

like image 2
BuzzWasHere Avatar answered Nov 09 '22 15:11

BuzzWasHere


I had the same problem and the solution was to "Clear Activation List" (firebug menu).

like image 2
Sérgio Nunes Avatar answered Nov 09 '22 16:11

Sérgio Nunes


[EDIT] I was wrong; external JS is referenced like this: <script type="text/javascript" src="/content/js/master.js></script>

The solution is: The "Script" menu only allows to enable or disable the JavaScript debugging for a site (since it can make Firefox very slow).

To see the actual script, you must use the hidden dropdown right above the "Script" menu. There are four buttons in the line above the "Script" dropdown: Firebug (just the logo), "Examine", "All" and the one where you can select the script to examine.

like image 1
Aaron Digulla Avatar answered Nov 09 '22 15:11

Aaron Digulla