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

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)

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

Description

[inspector] migrate set/remove BreakPoint to debug-interface.h - introduced internal BreakPoint object for debug-interface.h. - inspector uses this object instead of debug.js API via debug-interface.h BUG=v8:5510

Patch Set 1 #

Patch Set 2 : .. #

Patch Set 3 : better #

Patch Set 4 : added a test, ready for review #

Total comments: 10

Patch Set 5 : addressed comments #

Patch Set 6 : added comment about inlined jsframe index #

Unified diffs Side-by-side diffs Delta from patch set Stats (+580 lines, -324 lines) Patch
M include/v8.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/api.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/api.cc View 1 2 3 4 4 chunks +64 lines, -3 lines 0 comments Download
M src/ast/ast-types.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/types.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M src/debug/debug.cc View 1 2 3 4 5 2 chunks +22 lines, -3 lines 0 comments Download
M src/debug/debug-interface.h View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M src/deoptimizer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M src/factory.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/factory.cc View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M src/inspector/debugger-script.js View 2 chunks +0 lines, -50 lines 0 comments Download
M src/inspector/debugger_script_externs.js View 3 chunks +0 lines, -66 lines 0 comments Download
M src/inspector/v8-debugger.h View 1 2 2 chunks +5 lines, -10 lines 0 comments Download
M src/inspector/v8-debugger.cc View 1 2 3 6 chunks +27 lines, -113 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.h View 1 2 3 5 chunks +15 lines, -15 lines 0 comments Download
M src/inspector/v8-debugger-agent-impl.cc View 1 2 3 4 11 chunks +72 lines, -59 lines 0 comments Download
M src/inspector/v8-debugger-script.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/inspector/v8-debugger-script.cc View 1 2 3 chunks +14 lines, -0 lines 0 comments Download
M src/objects.h View 1 2 3 4 5 chunks +22 lines, -0 lines 0 comments Download
M src/objects-debug.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/objects-inl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M src/objects-printer.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M src/wasm/wasm-objects.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
A test/inspector/debugger/set-breakpoint.js View 1 2 3 1 chunk +111 lines, -0 lines 0 comments Download
A test/inspector/debugger/set-breakpoint-expected.txt View 1 2 3 1 chunk +165 lines, -0 lines 0 comments Download
M test/inspector/protocol-test.js View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
kozy
Yang, this CL is PoC about how we can migrate to native API with minimum ...
3 years, 10 months ago (2017-02-13 07:35:55 UTC) #2
Yang
awesome stuff. a few comments below. https://codereview.chromium.org/2685163006/diff/60001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2685163006/diff/60001/src/api.cc#newcode9094 src/api.cc:9094: i::Handle<i::Object> condition_obj = ...
3 years, 10 months ago (2017-02-15 13:21:10 UTC) #3
kozy
All done. Dmitry, please take a look on inspector side. https://codereview.chromium.org/2685163006/diff/60001/src/api.cc File src/api.cc (right): https://codereview.chromium.org/2685163006/diff/60001/src/api.cc#newcode9094 ...
3 years, 10 months ago (2017-02-15 16:21:33 UTC) #7
Yang
lgtm https://codereview.chromium.org/2685163006/diff/60001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2685163006/diff/60001/src/debug/debug.cc#newcode637 src/debug/debug.cc:637: /* inlined_jsframe_index */ 0, condition, false) On 2017/02/15 ...
3 years, 10 months ago (2017-02-15 16:32:23 UTC) #8
kozy
thanks, added a comment. https://codereview.chromium.org/2685163006/diff/60001/src/debug/debug.cc File src/debug/debug.cc (right): https://codereview.chromium.org/2685163006/diff/60001/src/debug/debug.cc#newcode637 src/debug/debug.cc:637: /* inlined_jsframe_index */ 0, condition, ...
3 years, 10 months ago (2017-02-15 16:42:34 UTC) #9
Yang
On 2017/02/15 16:42:34, kozy wrote: > thanks, added a comment. > > https://codereview.chromium.org/2685163006/diff/60001/src/debug/debug.cc > File ...
3 years, 9 months ago (2017-03-09 06:21:44 UTC) #14
kozy
3 years, 9 months ago (2017-03-24 00:48:15 UTC) #15
Message was sent while issue was closed.
we'd like to have BreakLocation as interface between inspector and debugger.

Powered by Google App Engine
This is Rietveld 408576698