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

Issue 2491133003: [inspector] Change ScriptBreakpoint to include scriptId (Closed)

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

Description

[inspector] Change ScriptBreakpoint to include scriptId The ScriptBreakpoint struct was before just holding line, column and condition. It now additionally holds the scriptId. This encapsulates information nicer, and allows for easier translation of wasm locations, since one struct now holds all information needed for the translation. BUG=chromium:659715 R=yangguo@chromium.org, kozyatinskiy@chromium.org Committed: https://crrev.com/764371bc3bb8040ed914c69e4631fa08e7f36e7b Cr-Commit-Position: refs/heads/master@{#41044}

Patch Set 1 #

Patch Set 2 : Fix memory error #

Patch Set 3 : Simplify definition of ScriptBreakpoint #

Total comments: 9

Patch Set 4 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -58 lines) Patch
M src/inspector/script-breakpoint.h View 1 2 1 chunk +12 lines, -9 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 chunk +2 lines, -2 lines 0 comments Download
M src/inspector/v8-debugger.cc View 2 3 2 chunks +5 lines, -6 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 chunk +1 line, -2 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 3 8 chunks +38 lines, -39 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 30 (21 generated)
Clemens Hammacher
4 years, 1 month ago (2016-11-10 22:39:40 UTC) #9
Yang
lgtm, but please wait for Alexey's review as well. https://codereview.chromium.org/2491133003/diff/40001/src/inspector/script-breakpoint.h File src/inspector/script-breakpoint.h (right): https://codereview.chromium.org/2491133003/diff/40001/src/inspector/script-breakpoint.h#newcode40 src/inspector/script-breakpoint.h:40: ...
4 years, 1 month ago (2016-11-15 07:49:18 UTC) #15
Clemens Hammacher
Alexey, can you take another look? I already changed the definition of ScriptBreakpoint as discussed ...
4 years, 1 month ago (2016-11-15 08:46:01 UTC) #16
kozy
https://codereview.chromium.org/2491133003/diff/40001/src/inspector/script-breakpoint.h File src/inspector/script-breakpoint.h (right): https://codereview.chromium.org/2491133003/diff/40001/src/inspector/script-breakpoint.h#newcode40 src/inspector/script-breakpoint.h:40: ScriptBreakpoint(String16 script_id, int line_number, int column_number, On 2016/11/15 07:49:18, ...
4 years, 1 month ago (2016-11-15 23:29:47 UTC) #17
Clemens Hammacher
https://codereview.chromium.org/2491133003/diff/40001/src/inspector/v8-debugger-agent-impl.cc File src/inspector/v8-debugger-agent-impl.cc (right): https://codereview.chromium.org/2491133003/diff/40001/src/inspector/v8-debugger-agent-impl.cc#newcode79 src/inspector/v8-debugger-agent-impl.cc:79: return String16::concat(breakpoint.script_id, ':', breakpoint.line_number, On 2016/11/15 at 23:29:47, kozyatinskiy ...
4 years, 1 month ago (2016-11-16 12:06:25 UTC) #22
kozy
thanks! lgtm
4 years, 1 month ago (2016-11-16 16:16:11 UTC) #23
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/2491133003/60001
4 years, 1 month ago (2016-11-16 16:36:04 UTC) #26
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-16 16:38:45 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:36:46 UTC) #30
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/764371bc3bb8040ed914c69e4631fa08e7f36e7b
Cr-Commit-Position: refs/heads/master@{#41044}

Powered by Google App Engine
This is Rietveld 408576698