[Webkit-unassigned] [Bug 87192] JavaScriptCore should expose function (closure) inner context to debugger

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 23 16:47:14 PDT 2012


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





--- Comment #10 from Peter Rybin <prybin at chromium.org>  2012-05-23 16:46:18 PST ---
(In reply to comment #5)
> (In reply to comment #4)
> > function->scope()->object will give you the scope in which a function was defined.
> > 
> > Do you expect all functions to create closures all the time? That isn't usually the case.
> 
> This si for the debugger.  If the debugger is on everything gets a full and beautiful scope chain

That's exactly what I need.

But how end user can see this scope chain?

I plan on showing the scope chain from WebInspector (Safari and Chrome) and from Java-based http://code.google.com/p/chromedevtools/ for every function value. So I'm working on adding scope chain to Remote Debugging protocol (with V8 engine right now).

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