Bug 45470 - Web Inspector: Feature Suggestion - Global Scope Inspector
Summary: Web Inspector: Feature Suggestion - Global Scope Inspector
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac (Intel) OS X 10.6
: P2 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-09 10:39 PDT by Jason Feinstein
Modified: 2014-12-11 17:14 PST (History)
9 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Feinstein 2010-09-09 10:39:46 PDT
Firebug has an invaluable feature: the ability to navigate and explore the global scope without setting a breakpoint.  It is placed "front and center" on the UI and is easy to find under the "DOM" tab..   I'm not aware that the Web Inspector has a feature like this; if it does - it's not easy to find.
Comment 1 Timothy Hatcher 2010-09-09 10:44:31 PDT
You can do it in the inspector by typing "window" in the console. We think that is how most developers inspect DOM objects and likely wont dedicate UI space for this.
Comment 2 Jason Feinstein 2010-09-09 10:51:36 PDT
Yeah, you can type "window" in the console, but the output you get is not "live". For instance, if you type window.myAwesomeVariable = "Hello Webkit";  You don't see this new variable appear as you created it - in the object shown in the console log.    

That makes sense not to show it in the log, because tracking the live state of an object in the log would ruin the purpose of having a log...  Having a view where you can watch stuff change live without needing a breakpoint would be great.  I don't think Firebug even has this ability (I think you have to "refresh" the dom tab by clicking away and then back to it - to see updates)