[Webkit-unassigned] [Bug 87197] New: Web Inspector: Debugger should correctly show catch scope

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 22 19:40:33 PDT 2012


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

           Summary: Web Inspector: Debugger should correctly show catch
                    scope
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: prybin at chromium.org
                CC: timothy at apple.com, rik at webkit.org, keishi at webkit.org,
                    pmuellr at yahoo.com, joepeck at webkit.org,
                    pfeldman at chromium.org, yurys at chromium.org,
                    bweinstein at apple.com, apavlov at chromium.org,
                    loislo at chromium.org


Stop on breakpoint inside a catch block. See a lot of garbage variables under "Catch" scope in Scope Variables display. For example "__defineGetter__", "toLocaleString" etc.
There shouldn't be them there.

Additional test case:

    var toString = "Test";
    try {
        throw "Hello";
    } catch (e) {
        e = toString;
        e = 2;
    }

break on the line "e = 2"
Debugger shows that the innermost scope (Catch) has variable named "toString" that has function value.
This is incorrect, because variable "e" has different value ("Test"). This means that the previous assigment statement doesn't see fake "toString" variable of the Catch scope.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list