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

Issue 2696163002: [debugger] implement inspector-facing API for code coverage. (Closed)

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

Description

[debugger] implement inspector-facing API for code coverage. The inspector uses V8's API handles and should not access V8 internals. This change makes sure it can use the coverage data in an encapsulated way. R=jgruber@chromium.org, kozyatinskiy@chromium.org BUG=v8:5808 Review-Url: https://codereview.chromium.org/2696163002 Cr-Commit-Position: refs/heads/master@{#43231} Committed: https://chromium.googlesource.com/v8/v8/+/c39123dd538f20ef63a8ef90689d935d260a70f7

Patch Set 1 #

Total comments: 5

Patch Set 2 : fix #

Patch Set 3 : fix test-debug #

Patch Set 4 : one more shared export #

Unified diffs Side-by-side diffs Delta from patch set Stats (+254 lines, -133 lines) Patch
M src/api.cc View 2 chunks +47 lines, -0 lines 0 comments Download
M src/d8.cc View 1 4 chunks +35 lines, -39 lines 0 comments Download
M src/debug/debug-coverage.h View 2 chunks +25 lines, -22 lines 0 comments Download
M src/debug/debug-coverage.cc View 4 chunks +45 lines, -43 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 3 3 chunks +48 lines, -1 line 0 comments Download
M src/debug/interface-types.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M src/objects.h View 1 1 chunk +2 lines, -4 lines 0 comments Download
M src/runtime/runtime-debug.cc View 5 chunks +6 lines, -17 lines 0 comments Download
M test/cctest/test-debug.cc View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
M test/mjsunit/code-coverage-ad-hoc.js View 4 chunks +4 lines, -4 lines 0 comments Download
M test/mjsunit/code-coverage-precise.js View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 25 (14 generated)
Yang
3 years, 10 months ago (2017-02-15 13:33:12 UTC) #1
kozy
https://codereview.chromium.org/2696163002/diff/1/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2696163002/diff/1/src/api.cc#newcode9528 src/api.cc:9528: return ToApiHandle<String>(range_->name); Utils::ToLocal? https://codereview.chromium.org/2696163002/diff/1/src/debug/debug-coverage.cc File src/debug/debug-coverage.cc (right): https://codereview.chromium.org/2696163002/diff/1/src/debug/debug-coverage.cc#newcode141 src/debug/debug-coverage.cc:141: ...
3 years, 10 months ago (2017-02-15 16:33:41 UTC) #2
Yang
https://codereview.chromium.org/2696163002/diff/1/src/debug/debug-coverage.cc File src/debug/debug-coverage.cc (right): https://codereview.chromium.org/2696163002/diff/1/src/debug/debug-coverage.cc#newcode141 src/debug/debug-coverage.cc:141: Handle<String> name(info->DebugName(), isolate); On 2017/02/15 16:33:41, kozy wrote: > ...
3 years, 10 months ago (2017-02-15 16:42:42 UTC) #3
kozy
thanks, lgtm.
3 years, 10 months ago (2017-02-15 17:16:34 UTC) #4
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/2696163002/20001
3 years, 10 months ago (2017-02-16 07:33:20 UTC) #11
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/22761)
3 years, 10 months ago (2017-02-16 07:38:08 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/2696163002/40001
3 years, 10 months ago (2017-02-16 08:00:51 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: v8_win_compile_dbg on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_win_compile_dbg/builds/32755) v8_win_nosnap_shared_rel_ng on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-16 08:08:25 UTC) #18
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/2696163002/60001
3 years, 10 months ago (2017-02-16 08:09:34 UTC) #21
jgruber
lgtm
3 years, 10 months ago (2017-02-16 08:28:22 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 08:36:20 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/c39123dd538f20ef63a8ef90689d935d260...

Powered by Google App Engine
This is Rietveld 408576698