Bug 135663 (ReplaySavepoints)

Summary: Web Replay: support replaying to arbitrary debugger positions
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED LATER    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 135690, 135830    
Bug Blocks: 136290    

Brian Burg
Reported 2014-08-06 12:05:00 PDT
We should be able to revert back to any position that the debugger is in. In past prototypes, we have called this concept "savepoints", "bookmarks", or "checkpoints". Savepoints have coordinates of <event loop input, breakpoint, debugger walk>. The algorithm is: 0. During normal replay, keep records of how many times a breakpoint is hit per event loop input. 1. replay to the preceding event loop input and pause playback 2. enable the debugger and set the preceding breakpoint which was hit 3. unpause playback, then that breakpoint 4. replay the series of debugger commands that led to the terminal state. This feature may be split into smaller bugs. It requires no new backend support.
Attachments
Radar WebKit Bug Importer
Comment 1 2014-08-06 12:05:10 PDT
Brian Burg
Comment 2 2014-08-11 22:45:57 PDT
This could possibly be messed up by promises not working when the inspected page is paused.
Blaze Burg
Comment 3 2017-07-10 14:01:25 PDT
Closing web replay-related bugs until we resume working on the feature again.
Note You need to log in before you can comment on or make changes to this bug.