Bug 123770
| Summary: | Web Inspector: DOM Breakpoints are not working unless there's JS breakpoint set | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alexandru Chiculita <achicu> |
| Component: | Web Inspector | Assignee: | 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 | ||
Alexandru Chiculita
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/15389268>
Timothy Hatcher
Are you looking to add UI for DOM breakpoints?
Alexandru Chiculita
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.
Devin Rousso
I can confirm that DOM breakpoints are working without JS breakpoints.