Bug 240342

Summary: Web Inspector: Breakpoint not always appearing in Breakpoints panel
Product: WebKit Reporter: Jack Wellborn <w0nka>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: ap, inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Mac (Apple Silicon)   
OS: macOS 12   
Attachments:
Description Flags
Video illustrating the issue none

Description Jack Wellborn 2022-05-12 06:51:13 PDT
Created attachment 459226 [details]
Video illustrating the issue

Browser Version: Safari Technology Preview - Release 144 (Safari 15.4, WebKit 17614.1.9.7)
macOS Version: 12.3.1 (21E258)

Reproduction Steps:

1. Go to https://jackwellborn.com/playground/planets/planets_borked.html
2. Open Web Inspector
3. Using the sources tab, place a breakpoint on line 101 of planets_borked.html
4. Edit the breakpoint. Set the condition to `true`, add an action to log "hello world", and check "Automatically continue after evaluating"
5. Refresh the page a number of times. 

Expected Behavior:
The breakpoint consistently appears in the Breakpoints panel. 

Actual Behavior:
The breakpoint does not consistently appear in the Breakpoints panel.
Comment 1 Patrick Angle 2022-05-12 08:43:43 PDT
Thank you for the report – this appears to be a recent regression. I'll try and take a look at what happened here.
Comment 2 Radar WebKit Bug Importer 2022-05-12 08:43:56 PDT
<rdar://problem/93176735>
Comment 3 Patrick Angle 2022-05-12 09:40:26 PDT
Might not actually be as recent a regression as I thought – reproducibility seems to vary over time, but its been around since at least macOS 12.0