Bug 197977

Summary: Web Inspector: Implement inline breakpoints.
Product: WebKit Reporter: Daniel Bates <dbates>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, webkit-bug-importer, zhifei_fang
Priority: P2 Keywords: InRadar
Version: Safari 12   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 244646, 244647    

Daniel Bates
Reported 2019-05-16 23:44:02 PDT
Seen here <https://hacks.mozilla.org/2019/05/faster-smarter-javascript-debugging-in-firefox/>. We should add the ability to set an "inline breakpoint", not just per line breakpoints but finer grained breakpoints in the line especially given in JavaScript multiple expressions may be written in the same line. Example: Window.settimeout(() => {...}, 200); And I want to set a breakpoint in the callback function or at the start of the callback. Can't do that now as far as I know at most can set breakpoint for settimeout.
Attachments
Daniel Bates
Comment 1 2019-05-16 23:49:25 PDT
And Chrome dev tools has them too: <https://umaar.com/dev-tips/129-inline-breakpoints/>
Radar WebKit Bug Importer
Comment 2 2019-05-17 13:33:41 PDT
Devin Rousso
Comment 3 2022-08-26 00:43:36 PDT
EWS
Comment 4 2022-08-31 16:28:18 PDT
Committed 254015@main (91f7b27a2c24): <https://commits.webkit.org/254015@main> Reviewed commits have been landed. Closing PR #3696 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.