Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Issue 10171003: Issue 2081: Expose function's (closure's) inner context in debugger. (Closed)

Created:
8 years, 8 months ago by Peter Rybin
Modified:
8 years, 7 months ago
Reviewers:
ulan, Yang
CC:
v8-dev
Visibility:
Public.

Description

Issue 2081: Expose function's (closure's) inner context in debugger. This is against the correct branch (bleeding_edge). Committed: https://code.google.com/p/v8/source/detail?r=11458

Patch Set 1 #

Patch Set 2 : missing test #

Patch Set 3 : merge #

Patch Set 4 : hide built-in function scopes #

Patch Set 5 : clean todo #

Patch Set 6 : clean #

Patch Set 7 : check for resolved #

Patch Set 8 : rebase #

Total comments: 2

Patch Set 9 : add tests #

Patch Set 10 : clean style #

Patch Set 11 : add harmony test/ #

Total comments: 1

Patch Set 12 : trailing whitespace #

Unified diffs Side-by-side diffs Delta from patch set Stats (+439 lines, -45 lines) Patch
M src/debug-debugger.js View 1 2 3 4 5 3 chunks +38 lines, -19 lines 0 comments Download
M src/mirror-debugger.js View 1 2 3 4 5 6 7 4 chunks +53 lines, -13 lines 0 comments Download
M src/runtime.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/runtime.cc View 1 2 3 4 5 6 7 8 9 4 chunks +69 lines, -13 lines 0 comments Download
A test/mjsunit/debug-function-scopes.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +162 lines, -0 lines 0 comments Download
A test/mjsunit/harmony/debug-function-scopes.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +115 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Peter Rybin
This is a replica of http://codereview.chromium.org/10073032/ that was targeted to incorrect branch.
8 years, 8 months ago (2012-04-20 16:38:04 UTC) #1
Peter Rybin
ping
8 years, 8 months ago (2012-04-23 16:22:05 UTC) #2
ulan
Sorry for the delay. Does this patch depend on other uncommitted patches? I am getting ...
8 years, 8 months ago (2012-04-24 08:57:49 UTC) #3
Peter Rybin
Yes, unfortunately I missed check for unresolved function. I added guards to debug-debugger.js and rebased ...
8 years, 8 months ago (2012-04-24 23:05:08 UTC) #4
ulan
Could you please add more tests that exercise different combinations of stack allocated and context ...
8 years, 8 months ago (2012-04-25 14:14:55 UTC) #5
Peter Rybin
> Could you please add more tests that exercise different combinations of stack > allocated ...
8 years, 8 months ago (2012-04-25 14:34:17 UTC) #6
Peter Rybin
https://chromiumcodereview.appspot.com/10171003/diff/16001/src/runtime.cc File src/runtime.cc (right): https://chromiumcodereview.appspot.com/10171003/diff/16001/src/runtime.cc#newcode11420 src/runtime.cc:11420: for (ScopeIterator it(isolate, fun); On 2012/04/25 14:14:55, ulan wrote: ...
8 years, 8 months ago (2012-04-25 22:56:49 UTC) #7
Peter Rybin
> Could you please add more tests that exercise different combinations of stack > allocated ...
8 years, 8 months ago (2012-04-25 22:59:27 UTC) #8
Yang
On 2012/04/25 22:59:27, Peter Rybin wrote: > > Could you please add more tests that ...
8 years, 8 months ago (2012-04-26 06:12:11 UTC) #9
Peter Rybin
> You can add flags at the begin of a .js test file following "// ...
8 years, 8 months ago (2012-04-26 14:13:24 UTC) #10
ulan
This looks good to me if you remove the trailing space. Please wait for Yang ...
8 years, 8 months ago (2012-04-26 14:31:15 UTC) #11
Yang
8 years, 8 months ago (2012-04-26 14:38:29 UTC) #12
On 2012/04/26 14:31:15, ulan wrote:
> This looks good to me if you remove the trailing space.
> 
> Please wait for Yang approval of changes in src/mirror-debugger.js and
> src/debug-debugger.js before landing.
> 
>
https://chromiumcodereview.appspot.com/10171003/diff/26001/test/mjsunit/harmo...
> File test/mjsunit/harmony/debug-function-scopes.js (right):
> 
>
https://chromiumcodereview.appspot.com/10171003/diff/26001/test/mjsunit/harmo...
> test/mjsunit/harmony/debug-function-scopes.js:82: var f2 = (function() {
> Trailing space.

LGTM as well.

Powered by Google App Engine
This is Rietveld 408576698