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

Issue 2532433003: [inspector] Split V8DebuggerScript implementation for wasm (Closed)

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

Description

[inspector] Split V8DebuggerScript implementation for wasm Make some methods on V8DebuggerScript virtual and provide the implementations ActualScript for scripts which are backed by scripts on V8's side, and WasmVirtualScript for wasm scripts. The added test case ensures that we at least don't crash on the attempt to get breakable locations for wasm "scripts", which we did previously. Returning a reasonable result for wasm will be implemented in a follow-up commit. R=yangguo@chromium.org, jgruber@chromium.org BUG=chromium:667767, chromium:613110 Committed: https://crrev.com/a9017cb0184ec5f1f42b74e26aa1055b9ea6633b Cr-Commit-Position: refs/heads/master@{#41527}

Patch Set 1 #

Patch Set 2 : Remove static initializer #

Patch Set 3 : Refactor a bit #

Total comments: 4

Patch Set 4 : Remove duplicate fields #

Patch Set 5 : Rebase #

Patch Set 6 : Minor refactoring #

Total comments: 8

Patch Set 7 : Rebase #

Patch Set 8 : Fix merge error #

Patch Set 9 : Rebase #

Patch Set 10 : Fix rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -116 lines) Patch
M src/inspector/v8-debugger.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -4 lines 0 comments Download
M src/inspector/v8-debugger-script.h View 1 2 3 4 5 6 7 8 3 chunks +24 lines, -21 lines 0 comments Download
M src/inspector/v8-debugger-script.cc View 1 2 3 4 5 6 7 8 9 4 chunks +167 lines, -87 lines 0 comments Download
M src/inspector/wasm-translation.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 60 (47 generated)
Clemens Hammacher
4 years ago (2016-11-24 13:51:09 UTC) #8
jgruber
Nice! lgtm modulo comments, but you will also need inspector owner reviews. https://codereview.chromium.org/2532433003/diff/40001/src/inspector/v8-debugger-script.cc File src/inspector/v8-debugger-script.cc ...
4 years ago (2016-11-24 15:54:50 UTC) #13
Clemens Hammacher
+kozyatinskiy as inspector owner. https://codereview.chromium.org/2532433003/diff/40001/src/inspector/v8-debugger-script.cc File src/inspector/v8-debugger-script.cc (right): https://codereview.chromium.org/2532433003/diff/40001/src/inspector/v8-debugger-script.cc#newcode102 src/inspector/v8-debugger-script.cc:102: m_hash = String16(); On 2016/11/24 ...
4 years ago (2016-11-24 17:57:02 UTC) #19
dgozman
I have a proposal to always report all fake wasm scripts per module (as we ...
4 years ago (2016-11-25 06:20:32 UTC) #23
Clemens Hammacher
On 2016/11/25 at 06:20:32, dgozman wrote: > I have a proposal to always report all ...
4 years ago (2016-11-28 11:51:11 UTC) #24
kozy
I agree with Dmitry that we should report scriptParsed events as soon as wasm module ...
4 years ago (2016-11-30 18:34:37 UTC) #33
Clemens Hammacher
https://codereview.chromium.org/2532433003/diff/100001/src/inspector/v8-debugger-script.cc File src/inspector/v8-debugger-script.cc (right): https://codereview.chromium.org/2532433003/diff/100001/src/inspector/v8-debugger-script.cc#newcode172 src/inspector/v8-debugger-script.cc:172: script->m_sourceURL = std::move(sourceUrl); On 2016/11/30 at 18:34:37, kozyatinskiy wrote: ...
4 years ago (2016-12-02 17:44:13 UTC) #42
kozy
lgtm, Can we move test to CL where getPossibleBreakpoints will be landed?
4 years ago (2016-12-02 18:08:27 UTC) #43
kozy
Are you going to move wasm-translation logic to V8DebuggerScript interface and to implement it in ...
4 years ago (2016-12-02 18:15:51 UTC) #44
Clemens Hammacher
On 2016/12/02 at 18:08:27, kozyatinskiy wrote: > Can we move test to CL where getPossibleBreakpoints ...
4 years ago (2016-12-06 14:01:30 UTC) #51
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/2532433003/180001
4 years ago (2016-12-06 14:24:20 UTC) #56
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years ago (2016-12-06 14:26:20 UTC) #58
commit-bot: I haz the power
4 years ago (2016-12-06 14:26:47 UTC) #60
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/a9017cb0184ec5f1f42b74e26aa1055b9ea6633b
Cr-Commit-Position: refs/heads/master@{#41527}

Powered by Google App Engine
This is Rietveld 408576698