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    

Description Brian Burg 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.
Comment 1 Timothy Hatcher 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.
Comment 2 Radar WebKit Bug Importer 2014-09-24 21:49:50 PDT
<rdar://problem/18450892>
Comment 3 BJ Burg 2017-07-10 14:01:26 PDT
Closing web replay-related bugs until we resume working on the feature again.