Don't see any scripts in Firebug “Script” menu

戏子无情 提交于 2019-12-19 05:07:26

问题


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?


回答1:


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


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.




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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




回答6:


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




回答7:


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.




回答8:


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.




回答9:


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.




回答10:


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.




回答11:


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



来源:https://stackoverflow.com/questions/797159/dont-see-any-scripts-in-firebug-script-menu

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!