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

Issue 2723273002: [inspector] introduced Debugger.scheduleStepIntoAsync (Closed)

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

Description

[inspector] introduced Debugger.scheduleStepIntoAsync This method could be called on pause and will do stepInto next scheduled callback if any will happen until next break. First implementation support only callbacks chained by Promise.prototype.then. BUG=chromium:432469 R=yangguo@chromium.org,dgozman@chromium.org Review-Url: https://codereview.chromium.org/2723273002 Cr-Commit-Position: refs/heads/master@{#43616} Committed: https://chromium.googlesource.com/v8/v8/+/47276d3db3dab6b4f1dd2ddb8b8088ccc0d0673e

Patch Set 1 #

Patch Set 2 : better method description #

Patch Set 3 : override current scheduled step into async if presented #

Total comments: 16

Patch Set 4 : addressed comments #

Patch Set 5 : fixed #

Total comments: 18

Patch Set 6 : addressed comments #

Patch Set 7 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+515 lines, -45 lines) Patch
M src/api.cc View 1 2 3 4 5 1 chunk +10 lines, -9 lines 0 comments Download
M src/debug/debug.h View 1 2 3 4 5 3 chunks +6 lines, -3 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 4 chunks +25 lines, -8 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 3 4 5 2 chunks +5 lines, -3 lines 0 comments Download
M src/inspector/inspector_protocol_config.json View 1 chunk +1 line, -0 lines 0 comments Download
M src/inspector/js_protocol.json View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 2 3 4 5 6 3 chunks +11 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 4 5 6 9 chunks +60 lines, -20 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 3 4 5 2 chunks +28 lines, -0 lines 0 comments Download
A test/inspector/debugger/schedule-step-into-async.js View 1 2 3 4 5 1 chunk +159 lines, -0 lines 0 comments Download
A test/inspector/debugger/schedule-step-into-async-expected.txt View 1 2 3 4 5 1 chunk +191 lines, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
kozy
Dmitry and Yang, please take a look. This method will be used with 'green dots' ...
3 years, 9 months ago (2017-03-01 21:02:49 UTC) #1
dgozman
https://codereview.chromium.org/2723273002/diff/40001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2723273002/diff/40001/src/inspector/js_protocol.json#newcode580 src/inspector/js_protocol.json:580: "description": "Steps into next scheduled async task if any ...
3 years, 9 months ago (2017-03-01 23:03:58 UTC) #2
kozy
all done. please take another look! https://codereview.chromium.org/2723273002/diff/40001/src/inspector/js_protocol.json File src/inspector/js_protocol.json (right): https://codereview.chromium.org/2723273002/diff/40001/src/inspector/js_protocol.json#newcode580 src/inspector/js_protocol.json:580: "description": "Steps into ...
3 years, 9 months ago (2017-03-02 00:53:04 UTC) #3
dgozman
Mostly lgtm. The only interesting question is at line src/inspector/v8-debugger.cc:691 https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug-interface.h File src/debug/debug-interface.h (right): https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug-interface.h#newcode107 ...
3 years, 9 months ago (2017-03-03 19:47:06 UTC) #4
kozy
https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug.cc#newcode2004 src/debug/debug.cc:2004: // We need to skip top frame which contains ...
3 years, 9 months ago (2017-03-03 20:17:02 UTC) #5
kozy
all done, Yang, please take another look. https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug-interface.h File src/debug/debug-interface.h (right): https://codereview.chromium.org/2723273002/diff/80001/src/debug/debug-interface.h#newcode107 src/debug/debug-interface.h:107: bool HasNonBlackboxedFrameOnStack(Isolate* ...
3 years, 9 months ago (2017-03-03 23:14:02 UTC) #6
Yang
non-inspector part LGTM.
3 years, 9 months ago (2017-03-06 14:53:07 UTC) #15
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/2723273002/120001
3 years, 9 months ago (2017-03-06 16:02:02 UTC) #18
commit-bot: I haz the power
3 years, 9 months ago (2017-03-06 16:28:34 UTC) #21
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/47276d3db3dab6b4f1dd2ddb8b8088ccc0d...

Powered by Google App Engine
This is Rietveld 408576698