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

Issue 2519773003: [debug] Add Eval scope type to inspector protocol (Closed)

Created:
4 years, 1 month ago by jgruber
Modified:
4 years, 1 month ago
Reviewers:
kozy, dgozman, Yang
CC:
v8-reviews_googlegroups.com, devtools-reviews_chromium.org, dgozman
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debug] Add Eval scope type to inspector protocol BUG=v8:5530, chromium:667218 Committed: https://crrev.com/0dcc7a0e209f10f88735cb51c4ae0ec32ba183ba Cr-Commit-Position: refs/heads/master@{#41205}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -385 lines) Patch
M src/inspector/debugger-script.js View 1 2 chunks +7 lines, -2 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 1 chunk +2 lines, -1 line 0 comments Download
M src/inspector/injected-script-source.js View 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/js_protocol.json View 1 chunk +1 line, -1 line 0 comments Download
D test/debugger/debug-evaluate-locals-optimized-double.js View 1 chunk +0 lines, -202 lines 0 comments Download
A + test/debugger/debug/debug-eval-scope.js View 1 chunk +1 line, -1 line 0 comments Download
A + test/debugger/debug/debug-evaluate-locals-optimized-double.js View 1 chunk +1 line, -2 lines 0 comments Download
A + test/debugger/debug/regress-5207.js View 1 chunk +0 lines, -1 line 0 comments Download
M test/debugger/test-api.js View 1 2 chunks +2 lines, -1 line 0 comments Download
A test/inspector/debugger/eval-scopes.js View 1 1 chunk +43 lines, -0 lines 0 comments Download
A test/inspector/debugger/eval-scopes-expected.txt View 1 1 chunk +19 lines, -0 lines 0 comments Download
D test/mjsunit/debug-eval-scope.js View 1 chunk +0 lines, -144 lines 0 comments Download
D test/mjsunit/regress/regress-5207.js View 1 chunk +0 lines, -30 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
jgruber
4 years, 1 month ago (2016-11-21 11:27:00 UTC) #6
Yang
On 2016/11/21 11:27:00, jgruber wrote: lgtm. thanks!
4 years, 1 month ago (2016-11-21 11:34:11 UTC) #7
kozy
Thanks! Could we add an inspector test for eval scope type? https://codereview.chromium.org/2519773003/diff/1/src/inspector/js_protocol-1.2.json File src/inspector/js_protocol-1.2.json (right): ...
4 years, 1 month ago (2016-11-21 16:05:36 UTC) #8
dgozman
Do we filter empty eval scopes? Most of the time there are a bunch, but ...
4 years, 1 month ago (2016-11-21 17:24:13 UTC) #10
kozy
https://codereview.chromium.org/2519773003/diff/1/src/inspector/debugger-script.js File src/inspector/debugger-script.js (right): https://codereview.chromium.org/2519773003/diff/1/src/inspector/debugger-script.js#newcode542 src/inspector/debugger-script.js:542: if (!properties.length && (scopeType === ScopeType.Script || scopeType === ...
4 years, 1 month ago (2016-11-21 17:52:09 UTC) #11
jgruber
Thanks for the reviews, comments addressed. https://codereview.chromium.org/2519773003/diff/1/src/inspector/debugger-script.js File src/inspector/debugger-script.js (right): https://codereview.chromium.org/2519773003/diff/1/src/inspector/debugger-script.js#newcode542 src/inspector/debugger-script.js:542: if (!properties.length && ...
4 years, 1 month ago (2016-11-22 13:55:21 UTC) #14
dgozman
lgtm. Nice patch!
4 years, 1 month ago (2016-11-22 15:28:27 UTC) #17
kozy
lgtm
4 years, 1 month ago (2016-11-22 15:56:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2519773003/20001
4 years, 1 month ago (2016-11-23 07:28:10 UTC) #21
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-23 07:30:06 UTC) #23
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/0dcc7a0e209f10f88735cb51c4ae0ec32ba183ba Cr-Commit-Position: refs/heads/master@{#41205}
4 years, 1 month ago (2016-11-23 07:30:32 UTC) #25
Yang
4 years, 1 month ago (2016-11-23 08:10:52 UTC) #26
Message was sent while issue was closed.
On 2016/11/23 07:30:32, commit-bot: I haz the power wrote:
> Patchset 2 (id:??) landed as
> https://crrev.com/0dcc7a0e209f10f88735cb51c4ae0ec32ba183ba
> Cr-Commit-Position: refs/heads/master@{#41205}

With this landed, do we already see eval scopes in the scope view in DevTools,
or is there additional work on the UI side?

Powered by Google App Engine
This is Rietveld 408576698