Bug 139094

Summary: Web Inspector: heuristically adjust breakpoint positions when script content changes
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Brian Burg 2014-11-28 19:13:05 PST
When switching between writing and debugging minified JavaScript, it's really annoying that breakpoints are only specified by file:line:column, since almost any edit to the source will mess up line positions.

It would be great if we could think up a better way to port breakpoints between similar versions of the same script. For example, breakpoints could additionally save local context (like a traditional diff/patch) and try to relocate the line using that context if the original line position has different content.
Comment 1 Radar WebKit Bug Importer 2014-11-28 19:13:19 PST
<rdar://problem/19094958>