Bug 139094 - Web Inspector: heuristically adjust breakpoint positions when script content changes
Summary: Web Inspector: heuristically adjust breakpoint positions when script content ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-11-28 19:13 PST by Brian Burg
Modified: 2016-12-13 15:38 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>