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

Issue 1513183003: [debugger] debug-evaluate should not not modify local values. (Closed)

Created:
5 years ago by Yang
Modified:
5 years ago
CC:
v8-reviews_googlegroups.com, Michael Hablich
Base URL:
https://chromium.googlesource.com/v8/v8.git@arrowthis
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] debug-evaluate should not not modify local values. Debug evaluate no longer writes back changes to the replicated context chain to the original after execution. Changes to the global object or script contexts still stick. Calling functions that bind to the original context chain also have their expected side effects. As far as I can tell, DevTools is not interested in modifying local variable values. Modifying global variable values still works as expected. However, I have not yet removed the old implementation, but merely keep it behind a flag. R=mstarzinger@chromium.org, rossberg@chromium.org Committed: https://crrev.com/92caa9b85eefffbef51c67428397951bd2e2c330 Cr-Commit-Position: refs/heads/master@{#32841} Committed: https://crrev.com/abe2feb08157f1a7a4597536e8bc06b07034c5a6 Cr-Commit-Position: refs/heads/master@{#32857}

Patch Set 1 #

Total comments: 1

Patch Set 2 : addressed comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+94 lines, -70 lines) Patch
M src/debug/debug-evaluate.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/debug/debug-evaluate.cc View 1 7 chunks +23 lines, -9 lines 0 comments Download
M src/flag-definitions.h View 1 2 chunks +6 lines, -2 lines 0 comments Download
M test/mjsunit/debug-evaluate-closure.js View 4 chunks +13 lines, -14 lines 0 comments Download
M test/mjsunit/debug-evaluate-const.js View 3 chunks +4 lines, -6 lines 0 comments Download
M test/mjsunit/debug-evaluate-locals.js View 3 chunks +3 lines, -2 lines 0 comments Download
M test/mjsunit/debug-evaluate-locals-capturing.js View 3 chunks +4 lines, -4 lines 0 comments Download
M test/mjsunit/debug-evaluate-modify-catch-block-scope.js View 2 chunks +5 lines, -5 lines 0 comments Download
M test/mjsunit/debug-evaluate-shadowed-context.js View 4 chunks +6 lines, -5 lines 0 comments Download
M test/mjsunit/es6/debug-blockscopes.js View 3 chunks +4 lines, -7 lines 0 comments Download
M test/mjsunit/regress-3225.js View 3 chunks +9 lines, -5 lines 0 comments Download
M test/mjsunit/regress/regress-325676.js View 3 chunks +4 lines, -4 lines 0 comments Download
M test/mjsunit/regress/regress-crbug-323936.js View 3 chunks +10 lines, -6 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 18 (9 generated)
Yang
On 2015/12/10 13:12:48, Yang wrote: > Description was changed from > > ========== > [debugger] ...
5 years ago (2015-12-10 13:13:12 UTC) #2
Michael Starzinger
LGTM if new semantics still accommodate how our embedders (e.g. DevTools) use the debugger interface, ...
5 years ago (2015-12-14 12:11:23 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513183003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513183003/20001
5 years ago (2015-12-14 14:20:03 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-14 14:53:46 UTC) #8
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/92caa9b85eefffbef51c67428397951bd2e2c330 Cr-Commit-Position: refs/heads/master@{#32841}
5 years ago (2015-12-14 14:54:33 UTC) #10
Michael Achenbach
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/1526553003/ by machenbach@chromium.org. ...
5 years ago (2015-12-14 17:18:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1513183003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1513183003/20001
5 years ago (2015-12-15 09:52:58 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-15 09:54:00 UTC) #16
commit-bot: I haz the power
5 years ago (2015-12-15 09:54:50 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/abe2feb08157f1a7a4597536e8bc06b07034c5a6
Cr-Commit-Position: refs/heads/master@{#32857}

Powered by Google App Engine
This is Rietveld 408576698