Bug 217200

Summary: Web Inspector: Debugger: breakpoints don't work on a trivial React app
Product: WebKit Reporter: Nikita Vasilyev <nvasilyev>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: ASSIGNED ---    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Video] Bug none

Description Nikita Vasilyev 2020-10-01 17:22:17 PDT
Created attachment 410286 [details]
[Video] Bug

STEPS:
1. Create a React app with https://reactjs.org/docs/create-a-new-react-app.html#create-react-app
2. Inspect it with Web Inspector
3. Open App.js in Sources
4. Click on the line gutter to set a breakpoint inside of App()
5. Reload page

EXPECTED:
Debugger stops on the breakpoint.

ACTUAL:
Debugger didn't stop on the breakpoint.

NOTES:
Note that `debugger` statements still work.
Comment 1 Radar WebKit Bug Importer 2020-10-01 17:22:35 PDT
<rdar://problem/69863307>
Comment 2 Nikita Vasilyev 2020-10-01 17:58:09 PDT
Note this also doesn't work in Chrome DevTools but works in Firefox DevTools.