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

Issue 2655653003: [inspector] Expose GetPossibleBreakpoints for wasm (Closed)

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

Description

[inspector] Expose GetPossibleBreakpoints for wasm and add an inspector test for it. Also test that a breakpoint can be set on each reported position, and that it is also hit during execution. This CL also fixes two little things which were uncovered by the new test. R=yangguo@chromium.org, titzer@chromium.org, kozyatinskiy@chromium.org BUG=v8:5822 Review-Url: https://codereview.chromium.org/2655653003 Cr-Commit-Position: refs/heads/master@{#42722} Committed: https://chromium.googlesource.com/v8/v8/+/c6663ef1c1c95e506e5baa22dae301c5af172e27

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address comments #

Total comments: 4

Patch Set 3 : Address Dmitrys comment #

Total comments: 2

Patch Set 4 : Introduce Init method and clang-format wasm-translation.cc #

Unified diffs Side-by-side diffs Delta from patch set Stats (+452 lines, -54 lines) Patch
M src/api.cc View 1 2 3 2 chunks +21 lines, -2 lines 0 comments Download
M src/debug/debug-interface.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger-script.h View 1 chunk +6 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger-script.cc View 6 chunks +61 lines, -10 lines 0 comments Download
M src/inspector/wasm-translation.cc View 1 2 3 16 chunks +56 lines, -39 lines 0 comments Download
M src/runtime/runtime-debug.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M src/runtime/runtime-wasm.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
A test/inspector/debugger/wasm-get-breakable-locations.js View 1 1 chunk +208 lines, -0 lines 0 comments Download
A test/inspector/debugger/wasm-get-breakable-locations-expected.txt View 1 1 chunk +87 lines, -0 lines 0 comments Download

Messages

Total messages: 37 (26 generated)
Clemens Hammacher
3 years, 11 months ago (2017-01-24 21:19:24 UTC) #5
Yang
On 2017/01/24 21:19:24, Clemens Hammacher wrote: lgtm, but I haven't given the inspector part close ...
3 years, 11 months ago (2017-01-25 10:46:33 UTC) #6
Clemens Hammacher
On 2017/01/25 at 10:46:33, yangguo wrote: > On 2017/01/24 21:19:24, Clemens Hammacher wrote: > > ...
3 years, 11 months ago (2017-01-25 12:09:24 UTC) #7
kozy
https://codereview.chromium.org/2655653003/diff/1/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2655653003/diff/1/src/inspector/wasm-translation.cc#newcode268 src/inspector/wasm-translation.cc:268: new TranslatorImpl::RawTranslator(this, script); Who will free this memory? https://codereview.chromium.org/2655653003/diff/1/src/inspector/wasm-translation.cc#newcode274 ...
3 years, 11 months ago (2017-01-25 18:34:19 UTC) #8
Clemens Hammacher
https://codereview.chromium.org/2655653003/diff/1/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2655653003/diff/1/src/inspector/wasm-translation.cc#newcode268 src/inspector/wasm-translation.cc:268: new TranslatorImpl::RawTranslator(this, script); On 2017/01/25 at 18:34:19, kozy wrote: ...
3 years, 11 months ago (2017-01-25 20:23:54 UTC) #12
dgozman
https://codereview.chromium.org/2655653003/diff/20001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2655653003/diff/20001/src/inspector/v8-debugger-agent-impl.cc#newcode483 src/inspector/v8-debugger-agent-impl.cc:483: translatedBreakpoint, &translatedBreakpoint.line_number, drive-by: it doesn't look safe to pass ...
3 years, 11 months ago (2017-01-26 06:24:34 UTC) #16
Clemens Hammacher
Alexey or Dmitry, can one of you please review the inspector changes again? https://codereview.chromium.org/2655653003/diff/20001/src/inspector/v8-debugger-agent-impl.cc File ...
3 years, 11 months ago (2017-01-26 09:57:48 UTC) #19
kozy
lgtm % comment https://codereview.chromium.org/2655653003/diff/40001/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2655653003/diff/40001/src/inspector/wasm-translation.cc#newcode265 src/inspector/wasm-translation.cc:265: // the fake scripts, which triggers ...
3 years, 11 months ago (2017-01-26 20:58:16 UTC) #22
Clemens Hammacher
Thanks Alexey! https://codereview.chromium.org/2655653003/diff/40001/src/inspector/wasm-translation.cc File src/inspector/wasm-translation.cc (right): https://codereview.chromium.org/2655653003/diff/40001/src/inspector/wasm-translation.cc#newcode265 src/inspector/wasm-translation.cc:265: // the fake scripts, which triggers setting ...
3 years, 11 months ago (2017-01-26 22:12:07 UTC) #25
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/2655653003/60001
3 years, 11 months ago (2017-01-27 07:18:30 UTC) #34
commit-bot: I haz the power
3 years, 11 months ago (2017-01-27 07:20:18 UTC) #37
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/v8/v8/+/c6663ef1c1c95e506e5baa22dae301c5af1...

Powered by Google App Engine
This is Rietveld 408576698