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

Issue 2702343003: [Debugger] Add a ReturnValueScope to correctly handle return values in nested debug breaks. (Closed)

Created:
3 years, 10 months ago by mythria
Modified:
3 years, 10 months ago
Reviewers:
Yang
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Debugger] Add a ReturnValueScope to correctly handle return values in nested debug breaks. Decouples return value handling from DebugScope when handling nested break statements. Return values are handled in ReturnValueScope. This would correctly reset the return_values when exiting the break statements. BUG=chromium:688950 Review-Url: https://codereview.chromium.org/2702343003 Cr-Commit-Position: refs/heads/master@{#43343} Committed: https://chromium.googlesource.com/v8/v8/+/0b709628deb6cc2e1fe1dbbef9219fa10a5b208c

Patch Set 1 #

Patch Set 2 : Save Handle instead of Object*. #

Patch Set 3 : Moves handle scope to Runtime_DebugBreak. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -5 lines) Patch
M src/debug/debug.h View 1 2 chunks +16 lines, -1 line 0 comments Download
M src/debug/debug.cc View 1 2 3 chunks +8 lines, -4 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (20 generated)
mythria
Could you please take a look. Thanks, Mythri
3 years, 10 months ago (2017-02-21 09:54:20 UTC) #11
Yang
On 2017/02/21 09:54:20, mythria wrote: > Could you please take a look. > > Thanks, ...
3 years, 10 months ago (2017-02-21 10:04:15 UTC) #12
mythria
Thanks Yang. I verified that it fixes the Dom leak problem. I did one more ...
3 years, 10 months ago (2017-02-21 13:09:51 UTC) #19
Yang
On 2017/02/21 13:09:51, mythria wrote: > Thanks Yang. I verified that it fixes the Dom ...
3 years, 10 months ago (2017-02-21 13:12:28 UTC) #20
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/2702343003/40001
3 years, 10 months ago (2017-02-21 13:43:39 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-21 13:45:42 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/v8/v8/+/0b709628deb6cc2e1fe1dbbef9219fa10a5...

Powered by Google App Engine
This is Rietveld 408576698