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

Issue 2423153002: [inspector] migrate stepping related methods to debug-interface (Closed)

Created:
4 years, 2 months ago by kozy
Modified:
4 years, 1 month 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] migrate stepping related methods to debug-interface * introduced DebugInterface::PrepareStep and DebugInterface::ClearStepping method. Inspector calls these methods only on pause and not interseted in calling this for not current break_id so we don't need to expose debug interface with break_id argument and can only check that current break_id is valid. BUG=chromium:652939, v8:5510 R=yangguo@chromium.org,dgozman@chromium.org CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/24e5dfb546d01394f375b61d55862201fa7df872 Cr-Commit-Position: refs/heads/master@{#40483}

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 2

Patch Set 3 : addressed comments #

Patch Set 4 : we use ClearStepping to cancel stepFrame #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -66 lines) Patch
M src/api.cc View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M src/debug/debug.h View 1 2 1 chunk +5 lines, -2 lines 0 comments Download
M src/debug/debug-interface.h View 1 chunk +11 lines, -0 lines 0 comments Download
M src/inspector/debugger-script.js View 1 1 chunk +0 lines, -37 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 1 2 chunks +0 lines, -5 lines 0 comments Download
M src/inspector/v8-debugger.cc View 3 chunks +7 lines, -22 lines 0 comments Download

Messages

Total messages: 24 (12 generated)
kozy
Yang and Dmitry, please take a look.
4 years, 2 months ago (2016-10-17 16:17:16 UTC) #3
dgozman
inspector lgtm, but this needs rebase
4 years, 2 months ago (2016-10-19 00:10:15 UTC) #4
Yang
lgtm https://codereview.chromium.org/2423153002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2423153002/diff/20001/src/api.cc#newcode8820 src/api.cc:8820: CHECK(isolate->debug()->CheckExecutionState(isolate->debug()->break_id())); Can we introduce a new version of ...
4 years, 2 months ago (2016-10-19 04:38:56 UTC) #5
kozy
all done. https://codereview.chromium.org/2423153002/diff/20001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2423153002/diff/20001/src/api.cc#newcode8820 src/api.cc:8820: CHECK(isolate->debug()->CheckExecutionState(isolate->debug()->break_id())); On 2016/10/19 04:38:56, Yang wrote: > ...
4 years, 2 months ago (2016-10-20 04:58:28 UTC) #6
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/2423153002/40001
4 years, 2 months ago (2016-10-20 04:59:01 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-20 05:37:20 UTC) #11
Michael Achenbach
A revert of this CL (patchset #3 id:40001) has been created in https://chromiumcodereview.appspot.com/2441583002/ by machenbach@chromium.org. ...
4 years, 2 months ago (2016-10-20 08:31:35 UTC) #12
kozy
We use cancelStepping to cancel stepFrame action in following scenario: - user set NativeBreakpoint (e.g. ...
4 years, 2 months ago (2016-10-20 16:59:39 UTC) #13
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/2423153002/60001
4 years, 2 months ago (2016-10-20 17:23:48 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 2 months ago (2016-10-20 18:51:41 UTC) #20
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/859eddbdefdd99a25164f2286b33a39051356ca4 Cr-Commit-Position: refs/heads/master@{#40450}
4 years, 1 month ago (2016-11-17 22:07:14 UTC) #22
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:08:50 UTC) #24
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/24e5dfb546d01394f375b61d55862201fa7df872
Cr-Commit-Position: refs/heads/master@{#40483}

Powered by Google App Engine
This is Rietveld 408576698