Bug 137079

Summary: Web Inspector: don't suppress breakpoints when emptying the call stack prior to replay
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED LATER    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 137078    

Brian Burg
Reported 2014-09-24 15:48:38 PDT
The ReplayManager tries to temporarily suppress breakpoints before (re-)starting replay and resumes the debugger in case the debugger is paused. This interacts poorly with time-indexed outputs because starting playback will race with unsuppressing breakpoints, and some breakpoint hits may be missed. Instead, we should probably just issue Debugger.stepOut commands until nothing is left in the call stack, and then restart replay. There may be some way to blow over the call stack using exceptions or something, but this could have a lot of unwanted side effects in the UI.
Attachments
Timothy Hatcher
Comment 1 2014-09-24 21:49:42 PDT
Maybe the best fix on on the backend? ReplayAgent can talk directly to the debugger and only pause when needed.
Radar WebKit Bug Importer
Comment 2 2014-09-24 21:49:50 PDT
Blaze Burg
Comment 3 2017-07-10 14:01:26 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.