[Webkit-unassigned] [Bug 210324] New: Web Inspector: Debugger: add a Step next that steps by expression

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 9 23:58:58 PDT 2020


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

            Bug ID: 210324
           Summary: Web Inspector: Debugger: add a Step next that steps by
                    expression
           Product: WebKit
           Version: WebKit Local Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: drousso at apple.com
                CC: inspector-bugzilla-changes at group.apple.com

When debugging minified code, if statement trees are often squished together with parenthesis and logical operators.

To give an example,
```
    a() && b() && c();
```
with the current set of stepping actions available right now, the only way to reach `c()` is to Step into and Step out of each function until `c()` is reached, which is a process that has many opportunities for a mistake.  Step next would act like Step over, except that instead of stepping statement-by-statement (e.g. Step next would step over the entire line until whatever is after the `;`) it would step expression-by-expression, but without stepping into any function calls.

Basically, it's a hybrid of Step over and Step into in that it steps to the next pause opportunity within the current (or ancestor) call frame.

-- 
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/20200410/4c66c2b2/attachment.htm>


More information about the webkit-unassigned mailing list