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

Issue 2678313002: [inspector] support for nested scheduled breaks (Closed)

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

Description

[inspector] support for nested scheduled breaks In current implementation we don't support nested scheduled break at all. If one break was scheduled inside another and second one doesn't produce actual break (execution was in blackboxed code or no JavaScript was executed) then second one will clear first scheduled break even if any not blackboxed JavaScript will be executed later. Ambiguous break reason is added for the case when we have more then one scheduled reason. "auxData" in this case contains object with array of { reason: reason, auxData: auxData } objects for each reason in 'reasons' property. BUG=chromium:632405 Review-Url: https://codereview.chromium.org/2678313002 Cr-Commit-Position: refs/heads/master@{#43021} Committed: https://chromium.googlesource.com/v8/v8/+/56bf7dbdaf6cb413390d56f2e595d1fbaecc9b30

Patch Set 1 #

Patch Set 2 : better test #

Patch Set 3 : reverted not related changes #

Total comments: 4

Patch Set 4 : added ambiguous break reason #

Patch Set 5 : better test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -31 lines) Patch
M src/inspector/js_protocol.json View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 3 8 chunks +71 lines, -27 lines 0 comments Download
A test/inspector/debugger/framework-nested-scheduled-break.js View 1 2 3 4 1 chunk +49 lines, -0 lines 0 comments Download
A test/inspector/debugger/framework-nested-scheduled-break-expected.txt View 1 2 3 4 1 chunk +41 lines, -0 lines 0 comments Download
M test/inspector/debugger/inspector-break-api.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M test/inspector/inspector-test.cc View 3 chunks +33 lines, -1 line 0 comments Download

Messages

Total messages: 25 (17 generated)
kozy
Pavel and Alexey, please take a look!
3 years, 10 months ago (2017-02-07 16:45:07 UTC) #7
pfeldman
https://codereview.chromium.org/2678313002/diff/40001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2678313002/diff/40001/src/inspector/v8-debugger-agent-impl.cc#newcode599 src/inspector/v8-debugger-agent-impl.cc:599: if (m_breakReason.empty()) return; Is it not strict enough to ...
3 years, 10 months ago (2017-02-07 19:01:06 UTC) #10
kozy
all done, please take another look. https://codereview.chromium.org/2678313002/diff/40001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2678313002/diff/40001/src/inspector/v8-debugger-agent-impl.cc#newcode599 src/inspector/v8-debugger-agent-impl.cc:599: if (m_breakReason.empty()) return; ...
3 years, 10 months ago (2017-02-07 22:54:36 UTC) #12
pfeldman
lgtm
3 years, 10 months ago (2017-02-07 23:22:29 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/2678313002/80001
3 years, 10 months ago (2017-02-07 23:58:32 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_rel_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_rel_ng/builds/22300)
3 years, 10 months ago (2017-02-08 01:09:16 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/2678313002/80001
3 years, 10 months ago (2017-02-08 01:20:54 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 01:43:01 UTC) #25
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/56bf7dbdaf6cb413390d56f2e595d1fbaec...

Powered by Google App Engine
This is Rietveld 408576698