[Webkit-unassigned] [Bug 97002] New: Web Inspector: console execution context is confusing when debugger is on a breakpoint

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 18 05:06:54 PDT 2012


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

           Summary: Web Inspector: console execution context is confusing
                    when debugger is on a breakpoint
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: ASSIGNED
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: caseq 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


When paused on a breakpoint, inspector always evaluates console expressions in the context of selected call frame. When the breakpoint is in a subframe, this means the global object will be that of subframe. This may be confusing, given that we display "top frame" in the console evaluation context (and the debugger panel indicating a breakpoint may be off the screen, so user does not realize he's on a breakpoint).
I suggest that when paused, we display something like "<call frame>" as an option in the execution context selection combo box of the console, and let one change it to override the execution context to that of different global object (i.e. a different frame or world).

-- 
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