Bug 240342 - Web Inspector: Breakpoint not always appearing in Breakpoints panel
Summary: Web Inspector: Breakpoint not always appearing in Breakpoints panel
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: Safari Technology Preview
Hardware: Mac (Apple Silicon) macOS 12
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-05-12 06:51 PDT by Jack Wellborn
Modified: 2022-05-12 17:58 PDT (History)
4 users (show)

See Also:


Attachments
Video illustrating the issue (12.80 MB, video/quicktime)
2022-05-12 06:51 PDT, Jack Wellborn
no flags Details

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