NEW 97002
Web Inspector: console execution context is confusing when debugger is on a breakpoint
https://bugs.webkit.org/show_bug.cgi?id=97002
Summary Web Inspector: console execution context is confusing when debugger is on a b...
Andrey Kosyakov
Reported 2012-09-18 05:07:24 PDT
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).
Attachments
Radar WebKit Bug Importer
Comment 1 2014-08-03 18:50:13 PDT
Note You need to log in before you can comment on or make changes to this bug.