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

Issue 1859033002: [debugger] ScopeIterator should unwrap debug-evaluate contexts. (Closed)

Created:
4 years, 8 months ago by Yang
Modified:
4 years, 8 months ago
Reviewers:
Camillo Bruni
CC:
v8-reviews_googlegroups.com, Yang
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[debugger] ScopeIterator should unwrap debug-evaluate contexts. If we use ScopeIterator inside a debug-evaluate call, we may iterate over a debug-evaluate context that we created for the debug-evaluate call. This may trigger assertions. The solution is to have the ScopeIterator hide debug-evaluate contexts by unwrapping it if it comes across any. R=cbruni@chromium.org BUG=chromium:599662 LOG=N Committed: https://crrev.com/2e191cee8a61b80ef880c1f2469495441e6c9c86 Cr-Commit-Position: refs/heads/master@{#35258}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -24 lines) Patch
M src/debug/debug-evaluate.h View 1 chunk +0 lines, -2 lines 0 comments Download
M src/debug/debug-evaluate.cc View 3 chunks +2 lines, -13 lines 0 comments Download
M src/debug/debug-scopes.h View 1 chunk +3 lines, -0 lines 0 comments Download
M src/debug/debug-scopes.cc View 7 chunks +32 lines, -9 lines 2 comments Download
M src/factory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M src/factory.cc View 1 chunk +8 lines, -0 lines 0 comments Download
A test/mjsunit/debug-evaluate-nested.js View 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Yang
4 years, 8 months ago (2016-04-05 08:27:01 UTC) #1
Camillo Bruni
lgtm https://codereview.chromium.org/1859033002/diff/1/src/debug/debug-scopes.cc File src/debug/debug-scopes.cc (right): https://codereview.chromium.org/1859033002/diff/1/src/debug/debug-scopes.cc#newcode128 src/debug/debug-scopes.cc:128: if (!context_->IsDebugEvaluateContext()) return; so you can have only ...
4 years, 8 months ago (2016-04-05 11:37:59 UTC) #2
Yang
https://codereview.chromium.org/1859033002/diff/1/src/debug/debug-scopes.cc File src/debug/debug-scopes.cc (right): https://codereview.chromium.org/1859033002/diff/1/src/debug/debug-scopes.cc#newcode128 src/debug/debug-scopes.cc:128: if (!context_->IsDebugEvaluateContext()) return; On 2016/04/05 11:37:59, Camillo Bruni wrote: ...
4 years, 8 months ago (2016-04-05 11:43:00 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1859033002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1859033002/1
4 years, 8 months ago (2016-04-05 11:43:14 UTC) #5
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-05 12:07:49 UTC) #6
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 12:08:27 UTC) #8
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/2e191cee8a61b80ef880c1f2469495441e6c9c86
Cr-Commit-Position: refs/heads/master@{#35258}

Powered by Google App Engine
This is Rietveld 408576698