Bug 125166 - Web Inspector: stale display source locations for breakpoints after inspector re-open
Summary: Web Inspector: stale display source locations for breakpoints after inspector...
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: http://en.wikipedia.org/wiki/Main_Page
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-12-03 10:37 PST by Brian Burg
Modified: 2016-12-13 15:34 PST (History)
2 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 2013-12-03 10:37:40 PST
Steps to reproduce:

1. Go to wikipedia.org
2. Set a bunch of breakpoints in one of the load.php files
3. Keep open the resources sidebar panel
4. Re-open the inspector. (Sometimes reloading will trigger it too.)
5. Go to the debugger panel. Display source locations seem to still be the same as raw locations.

From (5) if you click one of the breakpoints to cause the content view to display the breakpoint, the line numbers get updated to the correct values. So it seems like some invalidation step is missing.

Note that this happens regardless of the new restore strategy in https://webkit.org/b/122125, but it occasionally prevents that restore strategy from restoring breakpoints (I believe Breakpoint.saveIdentityToCookie() saves the display location, not raw location).
Comment 1 Radar WebKit Bug Importer 2014-02-14 09:52:36 PST
<rdar://problem/16070887>