Malcolm
Malcolm

Reputation: 12864

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

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?

Upvotes: 17

Views: 15797

Answers (11)

Mirko Cianfarani
Mirko Cianfarani

Reputation: 2103

I am disperate that Javascript panel not work for new version Firefox! So, if you want to work using Firebug. Use Firefox 49!

Upvotes: 0

Ramin Bateni
Ramin Bateni

Reputation: 17415

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.

Upvotes: 11

Sebastian Zartner
Sebastian Zartner

Reputation: 20105

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.

Upvotes: 4

abmerday
abmerday

Reputation: 79

It old post but anyway maybe it help somebody. I have some problem with Firebug and scripts. Script dropdwon menu don't show my script. Fist check if all path to script in Html part code is correct. And second I find Firebug don't show script with error. If your can see scrip in firebug and after don't can. This mean error in scrip.

Upvotes: 0

Sérgio Nunes
Sérgio Nunes

Reputation: 51

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

Upvotes: 2

jwmajors81
jwmajors81

Reputation: 1430

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.

Upvotes: 8

BuzzWasHere
BuzzWasHere

Reputation: 41

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.

Upvotes: 2

Peter Hart
Peter Hart

Reputation: 4975

I had this problem also. In my case, the issue was that the HTML was not correct - some content inserted from other code early in the output had an unclosed script tag.

Upvotes: 0

flugelizor
flugelizor

Reputation: 11

I had this problem for 2nd page under tabbed browsing. Solution: After I closed the first tab I was able to debug scripts on the 2nd tab.

Upvotes: 1

Aaron Digulla
Aaron Digulla

Reputation: 328604

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

Upvotes: 1

David Wengier
David Wengier

Reputation: 10179

The files are located in the drop down just above the "Script" tab. It just looks like a normal button, but when you click it, the list of files is shown.

Upvotes: 0

Related Questions