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

Issue 310463003: DevTools: introduce TargetBreakpoints as a presentation of breakpoint and its state within target (Closed)

Created:
6 years, 6 months ago by sergeyv
Modified:
6 years, 6 months ago
Reviewers:
vsevik
CC:
blink-reviews
Visibility:
Public.

Description

DevTools: introduce TargetBreakpoints as a presentation of breakpoint and its state within target BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175665

Patch Set 1 #

Total comments: 2

Patch Set 2 : Get rid of _fakeBreakpointAtPrimaryLocation call from TargetBreakpoint #

Total comments: 2

Patch Set 3 : Rebase on master #

Total comments: 29

Patch Set 4 : Address vsevik's comments #

Total comments: 2

Patch Set 5 : Get rid of for loops #

Patch Set 6 : Revert last change + rename fakePrimaryLocation #

Patch Set 7 : Fix quadratic complexity #

Total comments: 10

Patch Set 8 : Address vsevik's comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+288 lines, -189 lines) Patch
M LayoutTests/inspector/sources/debugger/breakpoint-manager.html View 1 2 3 4 5 6 7 9 chunks +24 lines, -21 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/breakpoint-manager-expected.txt View 1 5 chunks +6 lines, -8 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/dynamic-scripts-breakpoints.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/inspector/sources/debugger/live-edit-breakpoints.html View 10 chunks +10 lines, -10 lines 0 comments Download
M LayoutTests/inspector/sources/debugger/script-formatter-breakpoints-4.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/inspector/sources/debugger/set-breakpoint.html View 1 chunk +1 line, -1 line 0 comments Download
M Source/devtools/front_end/sdk/BreakpointManager.js View 1 2 3 4 5 6 7 15 chunks +213 lines, -144 lines 0 comments Download
M Source/devtools/front_end/sdk/DebuggerModel.js View 1 2 3 4 5 6 7 4 chunks +23 lines, -2 lines 0 comments Download
M Source/devtools/front_end/sdk/Target.js View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
sergeyv
6 years, 6 months ago (2014-05-30 15:36:29 UTC) #1
vsevik
https://chromiumcodereview.appspot.com/310463003/diff/1/Source/devtools/front_end/sdk/BreakpointManager.js File Source/devtools/front_end/sdk/BreakpointManager.js (right): https://chromiumcodereview.appspot.com/310463003/diff/1/Source/devtools/front_end/sdk/BreakpointManager.js#newcode49 Source/devtools/front_end/sdk/BreakpointManager.js:49: this._breakpoints = []; Let's only keep provisional breakpoints there. ...
6 years, 6 months ago (2014-06-02 13:37:59 UTC) #2
vsevik
https://chromiumcodereview.appspot.com/310463003/diff/20001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html File LayoutTests/inspector/sources/debugger/breakpoint-manager.html (right): https://chromiumcodereview.appspot.com/310463003/diff/20001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html#newcode9 LayoutTests/inspector/sources/debugger/breakpoint-manager.html:9: setTimeout(InspectorTest.completeTest, 2000); Redundant https://chromiumcodereview.appspot.com/310463003/diff/20001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html#newcode296 LayoutTests/inspector/sources/debugger/breakpoint-manager.html:296: mockTarget.debuggerModel = debuggerModel; This ...
6 years, 6 months ago (2014-06-04 08:15:22 UTC) #3
vsevik
https://chromiumcodereview.appspot.com/310463003/diff/40001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html File LayoutTests/inspector/sources/debugger/breakpoint-manager.html (right): https://chromiumcodereview.appspot.com/310463003/diff/40001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html#newcode9 LayoutTests/inspector/sources/debugger/breakpoint-manager.html:9: setTimeout(InspectorTest.completeTest, 2000); please remove https://chromiumcodereview.appspot.com/310463003/diff/40001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html#newcode296 LayoutTests/inspector/sources/debugger/breakpoint-manager.html:296: mockTarget.debuggerModel = debuggerModel; ...
6 years, 6 months ago (2014-06-04 16:28:52 UTC) #4
sergeyv
https://codereview.chromium.org/310463003/diff/40001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html File LayoutTests/inspector/sources/debugger/breakpoint-manager.html (right): https://codereview.chromium.org/310463003/diff/40001/LayoutTests/inspector/sources/debugger/breakpoint-manager.html#newcode9 LayoutTests/inspector/sources/debugger/breakpoint-manager.html:9: setTimeout(InspectorTest.completeTest, 2000); On 2014/06/04 16:28:53, vsevik wrote: > please ...
6 years, 6 months ago (2014-06-05 12:59:51 UTC) #5
vsevik
https://chromiumcodereview.appspot.com/310463003/diff/80001/Source/devtools/front_end/sdk/BreakpointManager.js File Source/devtools/front_end/sdk/BreakpointManager.js (right): https://chromiumcodereview.appspot.com/310463003/diff/80001/Source/devtools/front_end/sdk/BreakpointManager.js#newcode436 Source/devtools/front_end/sdk/BreakpointManager.js:436: /** @type {!WebInspector.UILocation|undefined} */ this._fakeBreakpointPrimaryLocation; nit: this._fakePrimaryLocation
6 years, 6 months ago (2014-06-05 13:19:10 UTC) #6
sergeyv
https://codereview.chromium.org/310463003/diff/80001/Source/devtools/front_end/sdk/BreakpointManager.js File Source/devtools/front_end/sdk/BreakpointManager.js (right): https://codereview.chromium.org/310463003/diff/80001/Source/devtools/front_end/sdk/BreakpointManager.js#newcode436 Source/devtools/front_end/sdk/BreakpointManager.js:436: /** @type {!WebInspector.UILocation|undefined} */ this._fakeBreakpointPrimaryLocation; On 2014/06/05 13:19:10, vsevik ...
6 years, 6 months ago (2014-06-05 13:25:53 UTC) #7
vsevik
lgtm
6 years, 6 months ago (2014-06-05 13:47:16 UTC) #8
vsevik
As discussed offline we need a test for this feature but since this requires refactoring ...
6 years, 6 months ago (2014-06-05 13:56:54 UTC) #9
vsevik
https://chromiumcodereview.appspot.com/310463003/diff/140001/Source/devtools/front_end/sdk/BreakpointManager.js File Source/devtools/front_end/sdk/BreakpointManager.js (right): https://chromiumcodereview.appspot.com/310463003/diff/140001/Source/devtools/front_end/sdk/BreakpointManager.js#newcode685 Source/devtools/front_end/sdk/BreakpointManager.js:685: _removeFromDebugger: function(callCallbackImmediately) callbackImmediately https://chromiumcodereview.appspot.com/310463003/diff/140001/Source/devtools/front_end/sdk/BreakpointManager.js#newcode732 Source/devtools/front_end/sdk/BreakpointManager.js:732: this.target().debuggerModel.registerBreakpointListenerForId(this._debuggerId, this); addBreakpointListener(id, this._breakpointResolved) ...
6 years, 6 months ago (2014-06-05 15:48:29 UTC) #10
sergeyv
https://codereview.chromium.org/310463003/diff/140001/Source/devtools/front_end/sdk/BreakpointManager.js File Source/devtools/front_end/sdk/BreakpointManager.js (right): https://codereview.chromium.org/310463003/diff/140001/Source/devtools/front_end/sdk/BreakpointManager.js#newcode685 Source/devtools/front_end/sdk/BreakpointManager.js:685: _removeFromDebugger: function(callCallbackImmediately) On 2014/06/05 15:48:29, vsevik wrote: > callbackImmediately ...
6 years, 6 months ago (2014-06-06 11:44:53 UTC) #11
sergeyv
The CQ bit was checked by sergeyv@chromium.org
6 years, 6 months ago (2014-06-06 11:45:00 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sergeyv@chromium.org/310463003/150001
6 years, 6 months ago (2014-06-06 11:46:05 UTC) #13
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 13:05:37 UTC) #14
Message was sent while issue was closed.
Change committed as 175665

Powered by Google App Engine
This is Rietveld 408576698