Bug 217200 - Web Inspector: Debugger: breakpoints don't work on a trivial React app
Summary: Web Inspector: Debugger: breakpoints don't work on a trivial React app
Status: ASSIGNED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-10-01 17:22 PDT by Nikita Vasilyev
Modified: 2020-10-01 17:58 PDT (History)
2 users (show)

See Also:


Attachments
[Video] Bug (5.40 MB, video/quicktime)
2020-10-01 17:22 PDT, Nikita Vasilyev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.