'sourceMaps is null' when opening any file in DevTools




Developer Tools: Debugger
a month ago
5 days ago


(Reporter: pacemkr, Unassigned)


(Blocks: 1 bug)

57 Branch

Firefox Tracking Flags

(Not tracked)



(1 attachment)



a month ago
Created attachment 8920761 [details]
Screen Shot 2017-10-21 at 12.07.30 AM.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:57.0) Gecko/20100101 Firefox/57.0
Build ID: 20171019140425

Steps to reproduce:

I disabled source maps in devtools settings.

Same issue reported here: https://stackoverflow.com/q/46679233/1959

Actual results:

I cannot open any file in devtools anymore. Instead of file contents I see the text 'sourceMaps is null'.

Toggling the source maps setting in dev tools does not fix the issue.
Manually toggling the 'devtools.debugger.source-maps-enabled' setting in about:config seems to have fixed the issue.

Comment 1

a month ago
Restarting the browser also did not fix the issue.

Comment 2

a month ago
TypeError: sourceMaps is null in debugger.js:19729:11

And spoke too soon, toggling the devtools.debugger.source-maps-enabled doesn't seem to fix anything. The problem came back and I'm still unable to load any file in dev tools.
Component: Untriaged → Developer Tools

Comment 3

28 days ago
I don't see the "sourceMaps is null" in the editor, but I do see it in the browser console.
For me the editor just says "Loading..." and never changes.

The browser console says:

TypeError: sourceMaps is null[Learn More]  debugger.js:25005:1

I actually see several reports with different line numbers.

These STR worked for me:
* Turn the source map pref off
* Open https://tromey.github.io/source-map-examples/simple/index.html
* Open devtools
* Switch to debugger
Blocks: 1339970
Component: Developer Tools → Developer Tools: Debugger
Ever confirmed: true

Comment 4

17 days ago
My UserAgent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0

This bug also have reproduce on Firefox 58.
Browser console is nothing to say, editor just say "loading...".
You need to log in before you can comment on or make changes to this bug.