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

Issue 14294004: Implementing console command 'debug'. (Closed)

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

Description

Implementing console command 'debug'. BUG=168776 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152034

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Added test. #

Total comments: 2

Patch Set 4 : #

Patch Set 5 : Removed column number support #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : Added a test for undebug command. #

Total comments: 8

Patch Set 11 : #

Total comments: 2

Patch Set 12 : #

Total comments: 6

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+265 lines, -17 lines) Patch
A LayoutTests/inspector/debugger/debug-console-command.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +94 lines, -0 lines 0 comments Download
A LayoutTests/inspector/debugger/debug-console-command-expected.txt View 1 2 3 4 5 6 7 8 9 1 chunk +39 lines, -0 lines 0 comments Download
M Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +41 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptExterns.js View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.cpp View 1 2 3 4 5 6 7 8 9 10 1 chunk +9 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptHost.idl View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/inspector/InjectedScriptSource.js View 1 2 3 4 5 2 chunks +12 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.h View 1 2 3 4 5 6 7 8 9 10 5 chunks +12 lines, -3 lines 0 comments Download
M Source/core/inspector/InspectorDebuggerAgent.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 9 chunks +41 lines, -11 lines 0 comments Download
M Source/devtools/front_end/DebuggerModel.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -1 line 0 comments Download
M Source/devtools/front_end/ScriptsPanel.js View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -0 lines 0 comments Download
M Source/devtools/protocol.json View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 23 (0 generated)
SeRya
7 years, 8 months ago (2013-04-17 14:36:25 UTC) #1
aandrey
https://codereview.chromium.org/14294004/diff/7001/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/14294004/diff/7001/Source/core/inspector/InjectedScriptSource.js#newcode1149 Source/core/inspector/InjectedScriptSource.js:1149: // NOTE: Please keep the list of API methods ...
7 years, 8 months ago (2013-04-17 15:56:48 UTC) #2
SeRya
https://codereview.chromium.org/14294004/diff/7001/Source/core/inspector/InjectedScriptSource.js File Source/core/inspector/InjectedScriptSource.js (right): https://codereview.chromium.org/14294004/diff/7001/Source/core/inspector/InjectedScriptSource.js#newcode1149 Source/core/inspector/InjectedScriptSource.js:1149: // NOTE: Please keep the list of API methods ...
7 years, 8 months ago (2013-04-18 06:41:22 UTC) #3
vsevik
Could you please drop columnNumber related changes? BreakpointManager does not fully support it (even with ...
7 years, 8 months ago (2013-04-18 11:55:30 UTC) #4
SeRya
On 2013/04/18 11:55:30, vsevik wrote: > Could you please drop columnNumber related changes? > BreakpointManager ...
7 years, 8 months ago (2013-04-19 07:31:09 UTC) #5
SeRya
Pavel, Seva said we should discuss implementation with you. I'm including you in the reviewers ...
7 years, 8 months ago (2013-04-22 07:30:20 UTC) #6
SeRya
As we decided on last meeting I removed passing breakpoints set in the "debug" command ...
7 years, 8 months ago (2013-04-25 14:48:39 UTC) #7
vsevik
As discussed you should track these breakpoints on backend to provide correct pause details information. ...
7 years, 7 months ago (2013-05-06 11:52:12 UTC) #8
pfeldman
3 weeks past. do we want to land this?
7 years, 6 months ago (2013-05-29 14:19:48 UTC) #9
SeRya
On 2013/05/29 14:19:48, pfeldman wrote: > 3 weeks past. do we want to land this? ...
7 years, 6 months ago (2013-05-30 05:08:52 UTC) #10
SeRya
> As discussed you should track these breakpoints on backend to provide correct pause details ...
7 years, 6 months ago (2013-05-30 09:56:27 UTC) #11
SeRya
Now DevTools show different message when stops on a function hooked with the debug command.
7 years, 6 months ago (2013-06-06 12:52:14 UTC) #12
SeRya
Added a test for undebug command.
7 years, 6 months ago (2013-06-07 06:24:41 UTC) #13
vsevik
https://chromiumcodereview.appspot.com/14294004/diff/56001/Source/core/inspector/InspectorDebuggerAgent.cpp File Source/core/inspector/InspectorDebuggerAgent.cpp (right): https://chromiumcodereview.appspot.com/14294004/diff/56001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode740 Source/core/inspector/InspectorDebuggerAgent.cpp:740: m_breakReason = InspectorFrontend::Debugger::Reason::Debug; InspectorFrontend::Debugger::Reason::DebugCommand https://chromiumcodereview.appspot.com/14294004/diff/56001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode832 Source/core/inspector/InspectorDebuggerAgent.cpp:832: removeBreakpoint(&errorString, breakpointId); You ...
7 years, 6 months ago (2013-06-07 12:42:56 UTC) #14
SeRya
https://chromiumcodereview.appspot.com/14294004/diff/56001/Source/core/inspector/InspectorDebuggerAgent.cpp File Source/core/inspector/InspectorDebuggerAgent.cpp (right): https://chromiumcodereview.appspot.com/14294004/diff/56001/Source/core/inspector/InspectorDebuggerAgent.cpp#newcode740 Source/core/inspector/InspectorDebuggerAgent.cpp:740: m_breakReason = InspectorFrontend::Debugger::Reason::Debug; On 2013/06/07 12:42:57, vsevik wrote: > ...
7 years, 6 months ago (2013-06-07 13:11:34 UTC) #15
vsevik
lgtm with a nit https://chromiumcodereview.appspot.com/14294004/diff/67002/Source/devtools/front_end/DebuggerModel.js File Source/devtools/front_end/DebuggerModel.js (right): https://chromiumcodereview.appspot.com/14294004/diff/67002/Source/devtools/front_end/DebuggerModel.js#newcode98 Source/devtools/front_end/DebuggerModel.js:98: Debug: "debug" DebugCommand
7 years, 6 months ago (2013-06-07 13:30:03 UTC) #16
SeRya
https://chromiumcodereview.appspot.com/14294004/diff/67002/Source/devtools/front_end/DebuggerModel.js File Source/devtools/front_end/DebuggerModel.js (right): https://chromiumcodereview.appspot.com/14294004/diff/67002/Source/devtools/front_end/DebuggerModel.js#newcode98 Source/devtools/front_end/DebuggerModel.js:98: Debug: "debug" On 2013/06/07 13:30:04, vsevik wrote: > DebugCommand ...
7 years, 6 months ago (2013-06-07 13:53:06 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/14294004/67003
7 years, 6 months ago (2013-06-07 13:53:16 UTC) #18
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=1319
7 years, 6 months ago (2013-06-07 14:02:41 UTC) #19
yurys
lgtm with some nits https://chromiumcodereview.appspot.com/14294004/diff/67003/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp File Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp (right): https://chromiumcodereview.appspot.com/14294004/diff/67003/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp#newcode379 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp:379: *scriptId = toWebCoreStringWithUndefinedOrNullCheck(function->GetScriptId()->ToString()); toWebCoreStringWithUndefinedOrNullCheck(function->GetScriptId()); https://chromiumcodereview.appspot.com/14294004/diff/67003/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp#newcode386 ...
7 years, 6 months ago (2013-06-07 15:23:28 UTC) #20
SeRya
https://chromiumcodereview.appspot.com/14294004/diff/67003/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp File Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp (right): https://chromiumcodereview.appspot.com/14294004/diff/67003/Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp#newcode379 Source/bindings/v8/custom/V8InjectedScriptHostCustom.cpp:379: *scriptId = toWebCoreStringWithUndefinedOrNullCheck(function->GetScriptId()->ToString()); On 2013/06/07 15:23:29, Yury Semikhatsky wrote: ...
7 years, 6 months ago (2013-06-07 16:00:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/serya@chromium.org/14294004/101002
7 years, 6 months ago (2013-06-07 16:01:20 UTC) #22
commit-bot: I haz the power
7 years, 6 months ago (2013-06-07 17:20:22 UTC) #23
Message was sent while issue was closed.
Change committed as 152034

Powered by Google App Engine
This is Rietveld 408576698