Bug 123770

Summary: Web Inspector: DOM Breakpoints are not working unless there's JS breakpoint set
Product: WebKit Reporter: Alexandru Chiculita <achicu>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: hi, inspector-bugzilla-changes, mark.lam, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 147093    

Description Alexandru Chiculita 2013-11-04 17:05:09 PST
The DOM breakpoints are not sent unless there's a previous JS breakpoint set. That's because JSC::Debugger expects a call to incNumberOfBreakpoints when the client needs the runtime to capture debugging information. Otherwise there will be no call frames available when the DOM breakpoints are triggered.
Comment 1 Radar WebKit Bug Importer 2013-11-04 17:05:21 PST
<rdar://problem/15389268>
Comment 2 Timothy Hatcher 2013-11-05 10:05:51 PST
Are you looking to add UI for DOM breakpoints?
Comment 3 Alexandru Chiculita 2013-11-05 13:52:15 PST
I (In reply to comment #2)
> Are you looking to add UI for DOM breakpoints?

I don't have any plans on this yet.

I was working on https://bugs.webkit.org/show_bug.cgi?id=123516 when I've discovered this issue. I'm touching some of the Inspector instrumentation and I thought I need to add a test for this case too.

It took me a while to figure out why the protocol test was not working, so I've added this bug to track the issue.
Comment 4 Devin Rousso 2018-09-05 09:43:00 PDT
I can confirm that DOM breakpoints are working without JS breakpoints.