Closed Bug 1204724 Opened 9 years ago Closed 7 years ago

React Source Map breakpoints jump to html files

Categories

(DevTools :: Debugger, defect)

43 Branch
defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED DUPLICATE of bug 1400856
Tracking Status
firefox43 --- affected

People

(Reporter: jsantell, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

Attached image debugger.gif
View attachment.

When setting bp's in the jsx files, they appear on the index.html in the sources list, and when switching to the index.html, there as well. Removing doesn't seem possible, even after refresh.

This is on Nightly 9/9/2015, recreated in Aurora as well. Can be recreated via this[0] react demo

[0] https://github.com/osnr/dagre-react/blob/master/example/index.html
Actually probably not source mapped, as it's loaded in via script tag (which I'm guessing the react runtime injects the compiled JS) -- so if this isn't a source map issue, maybe we shouldn't make non-JS files look "debuggable"?
Whiteboard: [platform-rel-Facebook][platform-rel-ReactJS]
platform-rel: --- → ?
platform-rel: ? → ---
Whiteboard: [platform-rel-Facebook][platform-rel-ReactJS]
Blocks: source-maps
Attached image new debugger
I just got this example setup and I'm not seeing the jsx files at all in the new debugger.  The old debugger shows them but they are missing from the new one.  Lemme file that issue with the new debugger and then we can see if this problem still exists.
This is a <script> with a sourceMappingURL but no sourceURL.
This problem is being handled in bug 1224078.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
It's a dup but I used the wrong bug.
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: