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

Issue 15096004: Passing hit breakpoint IDs to ScriptDebugServer. (Closed)

Created:
7 years, 7 months ago by SeRya
Modified:
7 years, 6 months ago
CC:
blink-reviews, caseq+blink_chromium.org, aandrey+blink_chromium.org, loislo+blink_chromium.org, jsbell+bindings_chromium.org, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, abarth-chromium, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, adamk+blink_chromium.org, haraken, Nate Chapin
Visibility:
Public.

Description

Passing hit breakpoint IDs to ScriptDebugServer. BUG=168776 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151844

Patch Set 1 : #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Total comments: 24

Patch Set 4 : CR comments addressed. #

Total comments: 2

Patch Set 5 : #

Patch Set 6 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -83 lines) Patch
M LayoutTests/http/tests/inspector/debugger-test.js View 1 2 3 5 chunks +13 lines, -8 lines 0 comments Download
M LayoutTests/inspector/debugger/set-breakpoint.html View 1 2 3 4 3 chunks +25 lines, -4 lines 0 comments Download
M Source/bindings/v8/DebuggerScript.js View 1 2 3 1 chunk +15 lines, -0 lines 0 comments Download
M Source/bindings/v8/ScriptDebugServer.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M Source/bindings/v8/ScriptDebugServer.cpp View 1 2 3 4 5 4 chunks +41 lines, -23 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.h View 1 2 3 3 chunks +3 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.cpp View 1 2 3 4 4 chunks +15 lines, -3 lines 0 comments Download
M Source/core/inspector/ScriptDebugListener.h View 2 chunks +4 lines, -3 lines 0 comments Download
M Source/devtools/front_end/BreakpointManager.js View 1 2 1 chunk +33 lines, -33 lines 0 comments Download
M Source/devtools/front_end/DebuggerModel.js View 1 2 5 chunks +10 lines, -6 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 1 chunk +2 lines, -1 line 1 comment Download

Messages

Total messages: 16 (0 generated)
SeRya
7 years, 7 months ago (2013-05-10 14:21:07 UTC) #1
SeRya
7 years, 7 months ago (2013-05-15 09:49:59 UTC) #2
yurys
It is not clear from this CL why we need to pass this breakpoint information ...
7 years, 7 months ago (2013-05-16 19:52:52 UTC) #3
yurys
Please upload the part that is supposed to use this data.
7 years, 7 months ago (2013-05-16 19:57:01 UTC) #4
SeRya
Some comments answered. https://codereview.chromium.org/15096004/diff/4001/Source/bindings/v8/DebuggerScript.js File Source/bindings/v8/DebuggerScript.js (right): https://codereview.chromium.org/15096004/diff/4001/Source/bindings/v8/DebuggerScript.js#newcode274 Source/bindings/v8/DebuggerScript.js:274: DebuggerScript.getBreakpointNumbers = function(eventData) On 2013/05/16 19:52:53, ...
7 years, 6 months ago (2013-05-30 07:45:56 UTC) #5
SeRya
Added passing ids to frontend, covered by a test.
7 years, 6 months ago (2013-06-04 16:04:19 UTC) #6
yurys
https://codereview.chromium.org/15096004/diff/14001/LayoutTests/http/tests/inspector/debugger-test.js File LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/15096004/diff/14001/LayoutTests/http/tests/inspector/debugger-test.js#newcode86 LayoutTests/http/tests/inspector/debugger-test.js:86: callback.apply(callback, InspectorTest._pausedScriptData); Please pass arguments explicitly (it is easier ...
7 years, 6 months ago (2013-06-05 08:07:36 UTC) #7
SeRya
https://codereview.chromium.org/15096004/diff/14001/LayoutTests/http/tests/inspector/debugger-test.js File LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/15096004/diff/14001/LayoutTests/http/tests/inspector/debugger-test.js#newcode86 LayoutTests/http/tests/inspector/debugger-test.js:86: callback.apply(callback, InspectorTest._pausedScriptData); On 2013/06/05 08:07:36, Yury Semikhatsky wrote: > ...
7 years, 6 months ago (2013-06-05 11:34:56 UTC) #8
yurys
lgtm https://codereview.chromium.org/15096004/diff/22001/LayoutTests/inspector/debugger/set-breakpoint.html File LayoutTests/inspector/debugger/set-breakpoint.html (right): https://codereview.chromium.org/15096004/diff/22001/LayoutTests/inspector/debugger/set-breakpoint.html#newcode142 LayoutTests/inspector/debugger/set-breakpoint.html:142: InspectorTest.assertEquals(breakpointIds.length && breakpointIds[0], expectedBreakpointId); InspectorTest.assertEquals(breakpointIds[0], expectedBreakpointId)
7 years, 6 months ago (2013-06-05 13:30:28 UTC) #9
SeRya
https://codereview.chromium.org/15096004/diff/22001/LayoutTests/inspector/debugger/set-breakpoint.html File LayoutTests/inspector/debugger/set-breakpoint.html (right): https://codereview.chromium.org/15096004/diff/22001/LayoutTests/inspector/debugger/set-breakpoint.html#newcode142 LayoutTests/inspector/debugger/set-breakpoint.html:142: InspectorTest.assertEquals(breakpointIds.length && breakpointIds[0], expectedBreakpointId); On 2013/06/05 13:30:29, Yury Semikhatsky ...
7 years, 6 months ago (2013-06-05 13:41:07 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/15096004/36002
7 years, 6 months ago (2013-06-05 13:41:25 UTC) #11
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 6 months ago (2013-06-05 13:58:58 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/15096004/45002
7 years, 6 months ago (2013-06-05 14:12:12 UTC) #13
commit-bot: I haz the power
Change committed as 151844
7 years, 6 months ago (2013-06-05 15:58:10 UTC) #14
pfeldman
Did we end up using it in the UI? https://chromiumcodereview.appspot.com/15096004/diff/45002/Source/devtools/protocol.json File Source/devtools/protocol.json (right): https://chromiumcodereview.appspot.com/15096004/diff/45002/Source/devtools/protocol.json#newcode3053 Source/devtools/protocol.json:3053: ...
7 years, 6 months ago (2013-06-06 18:10:27 UTC) #15
SeRya
7 years, 6 months ago (2013-06-07 16:31:19 UTC) #16
Message was sent while issue was closed.
On 2013/06/06 18:10:27, pfeldman wrote:
> Did we end up using it in the UI?
> 
>
https://chromiumcodereview.appspot.com/15096004/diff/45002/Source/devtools/pr...
> File Source/devtools/protocol.json (right):
> 
>
https://chromiumcodereview.appspot.com/15096004/diff/45002/Source/devtools/pr...
> Source/devtools/protocol.json:3053: { "name": "hitBreakpoints", "type":
"array",
> "items": { "type": "string" }, "description": "Hit breakpoints IDs", "hidden":
> true }
> Should be "$ref": "BreakpointId", not type:string.

It causes compilation error. I filed a bug: http://crbug.com/247674. Will fix it
later.

Powered by Google App Engine
This is Rietveld 408576698