TypeError isn't always source-mapped
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
People
(Reporter: Harald, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(2 files)
What were you doing?
- Open Console on https://25d5g.csb.app/ and see first TypeError entry
What happened?
First TypeError is not source-mapped in Firefox (works in Chrome). Second TypeError is source-mapped.
What should have happened?
All TypeError
logs are source-mapped.
Anything else we should know?
Codesandbox's proxy console and React's error overlay add some complexity here; but this should still "just work".
Similar issue for Angular: https://wcu9o.csb.app/ . Firefox links to https://wcu9o.csb.app/src/app/app.component.ts which is the right TS file; while Chrome loads the right TS file for https://wcu9o.csb.app/src/app/app.component.ts
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Nicolas, is that for Console or a Debugger source map issue?
Reporter | ||
Comment 2•4 years ago
|
||
Comment 3•4 years ago
|
||
if there's a problem, it's probably in the sourcemap worker.
But I'm not sure what is expected here?
Updated•4 years ago
|
Comment 4•4 years ago
|
||
Harald, could you please clarify exactly what behavior you're seeing that we need to address? Given the large screenshot, it's very hard for me to tell which part you're referring to. I think there's also probably a typo in
Firefox links to https://wcu9o.csb.app/src/app/app.component.ts which is the right TS file; while Chrome loads the right TS file for https://wcu9o.csb.app/src/app/app.component.ts
I notice when I click on a file, it sometimes takes me to the generated code instead of the original code, is that what you're referring to?
Reporter | ||
Comment 5•4 years ago
|
||
I notice when I click on a file, it sometimes takes me to the generated code instead of the original code, is that what you're referring to?
Yes, that seems to be the main issue here.
(I will try to annotate screenshots better next time!)
Description
•