为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

I am not able to see javascript file content in debugger window

  • 8 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 josuemb

more options

I am not able to see any Javascript file content into debugger Window (Developer tools). I am runninf firefox 56.0.2 64 bits in Windows 10 - Creators Update.

I am not able to see any Javascript file content into debugger Window (Developer tools). I am runninf firefox 56.0.2 64 bits in Windows 10 - Creators Update.
已附加屏幕截图

由josuemb于修改

所有回复 (8)

more options

I think I have seen reports of this where the user said they had to exit out of Firefox and restart to get the debugger to start showing script content again. Not a very convenient workaround, but if you don't get any other solutions, perhaps worth a try.

more options

Thanks in advance for your help. This issue is persistent accross the time, this is: if i restart Firefox the problem persists even when I reinstalled firefox. As a temporary solution I am using Firefox Developer Edition to do the same and it works.

more options

Any specific error messages about this issue in the Browser Console?

more options

Nothing could affect. See attachment.

more options

I think that your screenshot shows the Web Console and not the Browser Console like I asked above. The Web Console only shows messages about the page in the current tab. The Browser Console shows messages from all tabs and also shows messages about problems with extensions and internal Firefox code.


由cor-el于修改

more options

Corel is right, there is a way to show if there is something blocking the script from loading in the debugger if you can show a screenshot fo the Browser console when you reload the page?

Corel do you think it is a cache issue?

more options

I am sorry for the mistake I am putting the sreenshoot with webconsole opened. Thetext in the console is:

(looks lik a bug in parserworker.js as far as I seee)

Content Security Policy: La directiva 'frame-src' está desaprobada. Usa la directiva 'child-src' en su lugar. (desconocido) unreachable code after return statement parser-worker.js:17334:2 unreachable code after return statement parser-worker.js:22813:5 unreachable code after return statement parser-worker.js:22825:5 TypeError: str is null Traza de la pila: KeyShortcuts.parseElectronKey@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:37806:8 on@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:37942:23 componentDidMount@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:24286:6 notifyAll@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:842:9 close@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:14599:5 closeAll@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:19101:11 perform@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:19048:11 batchedMountComponentIntoNode@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:12357:3 perform@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:19035:13 batchedUpdates@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:10660:7 batchedUpdates@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:16668:3 _renderNewRootComponent@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:12551:5 _renderSubtreeIntoContainer@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:12632:21 render@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react.js:12653:12 monkeyPatchRender/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/shared/vendor/react-dom.js:128:14 renderRoot@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:3409:6 bootstrapApp@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:32502:5 onConnect</_ref<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:31465:7 step@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:31491:184 step/<@resource://gre/modules/commonjs/toolkit/loader.js -> resource://devtools/client/debugger/new/debugger.js:31491:362

 Promise-backend.js:925

unreachable code after return statement parser-worker.js:17334:2

more options

Some updates:

  1. I updated to Quantum and the problem persists.
  2. Since I suspected about a localization problem I uninstalled ES-MX version.
  3. I Installed Quantum Win64 EN-US version, after I tested under this scenario the problem has gone!

I am putting my 20 cents on it: It's a localization-related issue.

I am developer, so count on me if you need some help on this.

Best regards.

由josuemb于修改