Closed
Bug 1031987
Opened 11 years ago
Closed 10 years ago
Can't debug text/jsx react files
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: shaver, Unassigned)
Details
The debugger refuses to load a file with react's JSX markup in it, so you can't see syntax error locations or set breakpoints or such. Chrome's manages to, which is very welcome. (I think it doesn't parse the file other than to do syntax highlighting, which is indeed a bit off, but not that big a deal as a developer debugging stuff.)
Comment 1•11 years ago
|
||
cc'ing James because he's the resident react fanboy.
Comment 2•11 years ago
|
||
Is there any related error in the browser console (Cmd+Shift+J)?
Flags: needinfo?(shaver)
Comment 3•11 years ago
|
||
Strange, this is definitely something we need to fix. Thanks for CC'ing me on it!
| Reporter | ||
Comment 4•11 years ago
|
||
Nick: I don't recall there being one, no, but I suspect that James can reproduce it thoroughly.
Flags: needinfo?(shaver)
Updated•11 years ago
|
Summary: can't debug text/jsx react files → Can't debug text/jsx react files
Comment 5•11 years ago
|
||
James, is this fixed? We have bug 1164853 specifically about syntax highlighting for jsx, and it seems to indicate that the situation generally has improved thanks probably to you and Eddy.
Flags: needinfo?(jlong)
Comment 6•11 years ago
|
||
Oops, I forgot about this bug. I guess it is fixed :) I can double-check tomorrow. I didn't fix anything about it specifically, but the way sources are loaded has changed a good bit (in particular with sourcemaps) so it probably got fixed along the way.
Flags: needinfo?(jlong)
Assuming this is fixed based on comments, reopen if not.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•