| Summary: | Web Inspector: Add Function Breakpoints/Tracepoints (like Symbolic Breakpoints) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> |
| Component: | Web Inspector | Assignee: | Devin Rousso <hi> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | graouts, inspector-bugzilla-changes, joepeck, jonowells, mark.lam, saam, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 243717, 244642, 243716, 244717 | ||
|
Description
Joseph Pecoraro
2015-03-20 11:50:02 PDT
> - https://github.com/paulirish/break-on-access
I believe this will even swizzle out a value descriptor with a getter/setter so that you can break on any access to the original property. That also sounds useful.
Also, integration with the text editor to quickly set these breakpoints on member variables sounds useful as well.
Mark mentioned this may be easy with Native functions by inserting a middle thunk into the JITCode entry for Native Functions. This wouldn't work for built-in / Intrinsic functions though. Pull request: https://github.com/WebKit/WebKit/pull/3140 Committed 253374@main (631ebd578bab): <https://commits.webkit.org/253374@main> Reviewed commits have been landed. Closing PR #3140 and removing active labels. |