[Webkit-unassigned] [Bug 139523] New: Web Inspector: debugger should not require multiple "step over" commands to step past 'return' statement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 10 18:46:10 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=139523

            Bug ID: 139523
           Summary: Web Inspector: debugger should not require multiple
                    "step over" commands to step past 'return' statement
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: burg at cs.washington.edu
                CC: graouts at webkit.org, joepeck at webkit.org,
                    timothy at apple.com, webkit-bug-importer at group.apple.com

Steps to repro:

1. Pause inside a function with |return <expr>;| on the last line.
2. Step over each statement until the return.
3. Step over the return statement.

At the end of step 3, the debugger is stepped "past" the return statement. How this is shown to the user seems inconsistent.
Sometimes, the debugger implicitly "steps out" to the callee's call frame, while other times it seems to step past the return statement without stepping out.

I haven't peeked at the protocol traffic to see what commands are actually being emitted. It may be the case that some of the step over clicks were not being sent to the backend somehow. To prevent this sort of race, we could add a debouncing animation to the stepping buttons that makes it clearer when the debugger command has been processed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20141211/a79b42cc/attachment-0002.html>


More information about the webkit-unassigned mailing list