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

Issue 734163002: Allow stepping into Promise handlers. (Closed)

Created:
6 years, 1 month ago by aandrey
Modified:
6 years, 1 month ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Project:
v8
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : addressed #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -3 lines) Patch
M src/debug.cc View 2 chunks +4 lines, -1 line 2 comments Download
M src/macros.py View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/promise.js View 1 2 chunks +10 lines, -2 lines 0 comments Download
A test/mjsunit/es6/debug-stepin-promises.js View 1 chunk +80 lines, -0 lines 4 comments Download

Messages

Total messages: 10 (1 generated)
aandrey
6 years, 1 month ago (2014-11-17 17:51:46 UTC) #1
Yang
https://codereview.chromium.org/734163002/diff/1/src/promise.js File src/promise.js (right): https://codereview.chromium.org/734163002/diff/1/src/promise.js#newcode276 src/promise.js:276: if (DEBUG_IS_ACTIVE && %DebugCallbackSupportsStepping(onReject)) { This conditional is used ...
6 years, 1 month ago (2014-11-17 19:41:02 UTC) #2
aandrey
On 2014/11/17 19:41:02, Yang wrote: > https://codereview.chromium.org/734163002/diff/1/src/promise.js > File src/promise.js (right): > > https://codereview.chromium.org/734163002/diff/1/src/promise.js#newcode276 > ...
6 years, 1 month ago (2014-11-18 09:07:20 UTC) #3
Yang
On 2014/11/18 09:07:20, aandrey wrote: > On 2014/11/17 19:41:02, Yang wrote: > > https://codereview.chromium.org/734163002/diff/1/src/promise.js > ...
6 years, 1 month ago (2014-11-18 09:10:22 UTC) #4
Yang
On 2014/11/18 09:10:22, Yang wrote: > On 2014/11/18 09:07:20, aandrey wrote: > > On 2014/11/17 ...
6 years, 1 month ago (2014-11-18 09:10:35 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/734163002/20001
6 years, 1 month ago (2014-11-18 09:22:16 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years, 1 month ago (2014-11-18 09:50:20 UTC) #8
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/734163002/diff/20001/src/debug.cc File src/debug.cc (right): https://codereview.chromium.org/734163002/diff/20001/src/debug.cc#newcode1203 src/debug.cc:1203: if (function->IsFromNativeScript()) return; Maybe this should have been ...
6 years, 1 month ago (2014-11-18 18:51:08 UTC) #9
aandrey
6 years, 1 month ago (2014-11-19 11:41:27 UTC) #10
Message was sent while issue was closed.
https://codereview.chromium.org/734163002/diff/20001/src/debug.cc
File src/debug.cc (right):

https://codereview.chromium.org/734163002/diff/20001/src/debug.cc#newcode1203
src/debug.cc:1203: if (function->IsFromNativeScript()) return;
On 2014/11/18 18:51:08, arv wrote:
> Maybe this should have been a DCHECK instead. I think all the callers already
> try to handle this.

Nope, only two places out of 7-8 in this file. One check I removed at line 1255,
also should remove at line 1229 (which is also not correct before calling
FloodWithOneShotGeneric)

https://codereview.chromium.org/734163002/diff/20001/test/mjsunit/es6/debug-s...
File test/mjsunit/es6/debug-stepin-promises.js (right):

https://codereview.chromium.org/734163002/diff/20001/test/mjsunit/es6/debug-s...
test/mjsunit/es6/debug-stepin-promises.js:51: {
On 2014/11/18 18:51:08, arv wrote:
> { on previous line

Addressed in https://codereview.chromium.org/739523002/

Powered by Google App Engine
This is Rietveld 408576698