Bug 218275

Summary: Web Inspector: error line number missing when code is a module, making debugging difficult
Product: WebKit Reporter: Andreas <andreas>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: andreas, bburg, inspector-bugzilla-changes, keith_miller, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 14   
Hardware: All   
OS: All   
Attachments:
Description Flags
Test which demonstrates the error none

Andreas
Reported 2020-10-28 00:41:20 PDT
Created attachment 412510 [details] Test which demonstrates the error In the attached file the script tags contain the same syntax error. Both errors appear in the console but only one shows the correct line number. This is happens for a vast series of errors and in many situations, making it difficult to debug code in ES6 (and also promises).
Attachments
Test which demonstrates the error (504 bytes, text/html)
2020-10-28 00:41 PDT, Andreas
no flags
Radar WebKit Bug Importer
Comment 1 2020-10-28 10:50:05 PDT
Note You need to log in before you can comment on or make changes to this bug.