Bug 9889 - [Drosera] Stepping out when paused after last statement in function skips a frame
Summary: [Drosera] Stepping out when paused after last statement in function skips a f...
Status: CLOSED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-12 22:35 PDT by Mark Rowe (bdash)
Modified: 2008-05-17 09:55 PDT (History)
0 users

See Also:


Attachments
Patch (2.47 KB, patch)
2006-07-12 22:41 PDT, Mark Rowe (bdash)
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Rowe (bdash) 2006-07-12 22:35:06 PDT
As per description.  The problem is due to there being no intermediate call to willExecuteStatement between two calls to willLeaveFrame.
Comment 1 Mark Rowe (bdash) 2006-07-12 22:41:13 PDT
Created attachment 9422 [details]
Patch
Comment 2 Timothy Hatcher 2006-07-12 22:44:23 PDT
Comment on attachment 9422 [details]
Patch

Thanks for the fix! This is an interesting edge case.
Comment 3 Tim Omernick 2006-07-12 23:27:57 PDT
I don't get this line:

+        pausedWhileLeavingFrame = fromLeavingFrame || false;

Shouldn't it be:

+        pausedWhileLeavingFrame = fromLeavingFrame || false || false || false;

Kidding, of course... ;-)
Comment 4 Timothy Hatcher 2006-07-13 00:05:44 PDT
Landed in r15403.
Comment 5 Timothy Hatcher 2008-05-17 09:55:54 PDT
Closing since Drosera has been replaced by the new Web Inspector debugger. Moving to the New Bugs component so the Drosera component can be closed and removed.