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

Issue 2526013002: [DevTools] Added inline breakpoints (Closed)

Created:
4 years ago by kozy
Modified:
4 years ago
Reviewers:
dgozman, lushnikov
CC:
chromium-reviews, caseq+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, apavlov+blink_chromium.org, devtools-reviews_chromium.org, blink-reviews, pfeldman, kozyatinskiy+blink_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[DevTools] Added inline breakpoints If line contains at least one breakpoint and more then one possible breakpoint location then text editor will show decorations for all breakpoints and possible breakpoint locations. BUG=chromium:566801 R=lushnikov@chromium.org,dgozman@chromium.org Committed: https://crrev.com/698c4714e8ad986ee5e12cde0026cb9e1b70e6cc Cr-Commit-Position: refs/heads/master@{#435589}

Patch Set 1 #

Total comments: 4

Patch Set 2 : addressed comments #

Total comments: 2

Patch Set 3 : replace div with icon #

Total comments: 18

Patch Set 4 : addressed comments #

Total comments: 12

Patch Set 5 : addressed comments #

Patch Set 6 : a #

Total comments: 6

Patch Set 7 : addressed comments #

Patch Set 8 : rebased test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+484 lines, -40 lines) Patch
M third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js View 1 2 3 4 5 6 2 chunks +50 lines, -9 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit.html View 1 2 3 4 5 6 3 chunks +8 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/live-edit-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-breakpoint-decorations.html View 1 2 3 4 5 6 3 chunks +3 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html View 1 2 3 4 5 6 1 chunk +112 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations-expected.txt View 1 2 3 1 chunk +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/smallIcons.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/smallIcons_2x.png View 1 2 Binary file 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/optimize_png.hashes View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/smallIcons.svg View 1 2 2 chunks +15 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/Images/src/svg2png.hashes View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/devtools/front_end/main/Main.js View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js View 1 2 3 4 5 6 7 13 chunks +227 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css View 1 2 4 1 chunk +33 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/devtools/front_end/ui/Icon.js View 1 2 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
kozy
Andrey, please take a look!
4 years ago (2016-11-23 19:39:00 UTC) #1
lushnikov
https://codereview.chromium.org/2526013002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js (right): https://codereview.chromium.org/2526013002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js#newcode1212 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js:1212: Sources.JavaScriptSourceFrame.BreakpointDecoration = class { What is BreakpointDecoration? It used ...
4 years ago (2016-11-23 21:54:39 UTC) #2
kozy
Done and answered. https://codereview.chromium.org/2526013002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js (right): https://codereview.chromium.org/2526013002/diff/1/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js#newcode1212 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js:1212: Sources.JavaScriptSourceFrame.BreakpointDecoration = class { On 2016/11/23 ...
4 years ago (2016-11-23 23:08:47 UTC) #3
dgozman
looks pretty straightfoward! https://codereview.chromium.org/2526013002/diff/20001/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css File third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css (right): https://codereview.chromium.org/2526013002/diff/20001/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css#newcode129 third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css:129: clip-path: polygon(0% 0%, 60% 0%, 100% ...
4 years ago (2016-11-23 23:46:56 UTC) #4
kozy
icons! please take a look. https://codereview.chromium.org/2526013002/diff/20001/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css File third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css (right): https://codereview.chromium.org/2526013002/diff/20001/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css#newcode129 third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css:129: clip-path: polygon(0% 0%, 60% ...
4 years ago (2016-11-24 01:24:18 UTC) #5
lushnikov
https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html File third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html (right): https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html#newcode49 third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html:49: function testAddRemoveBreakpointInLineWithOneBreakpoint(next) WithOneLocation https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html#newcode98 third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html:98: function clickBySecondBreakpointAgein() Again https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/Source/devtools/front_end/Images/src/optimize_png.hashes ...
4 years ago (2016-11-28 20:35:19 UTC) #6
kozy
all done, please take a look! https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html File third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html (right): https://codereview.chromium.org/2526013002/diff/40001/third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html#newcode49 third_party/WebKit/LayoutTests/inspector/sources/debugger/source-frame-inline-breakpoint-decorations.html:49: function testAddRemoveBreakpointInLineWithOneBreakpoint(next) On ...
4 years ago (2016-11-29 02:12:36 UTC) #7
lushnikov
https://codereview.chromium.org/2526013002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js (right): https://codereview.chromium.org/2526013002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js#newcode809 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js:809: if (decorations.length > 1) { let's hide all decorations ...
4 years ago (2016-11-29 03:17:11 UTC) #8
kozy
all done. please take another look. https://codereview.chromium.org/2526013002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js File third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js (right): https://codereview.chromium.org/2526013002/diff/60001/third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js#newcode809 third_party/WebKit/Source/devtools/front_end/sources/JavaScriptSourceFrame.js:809: if (decorations.length > ...
4 years ago (2016-11-29 19:53:26 UTC) #9
lushnikov
lgtm https://codereview.chromium.org/2526013002/diff/100001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/2526013002/diff/100001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js#newcode632 third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js:632: InspectorTest.prepareJavaScriptSourceFrame = function(sourceFrame) prepareSourceFrameForBreakpointTest = https://codereview.chromium.org/2526013002/diff/100001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js#newcode647 third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js:647: return ...
4 years ago (2016-11-29 21:24:29 UTC) #10
kozy
thanks! all done. https://codereview.chromium.org/2526013002/diff/100001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js File third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js (right): https://codereview.chromium.org/2526013002/diff/100001/third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js#newcode632 third_party/WebKit/LayoutTests/http/tests/inspector/debugger-test.js:632: InspectorTest.prepareJavaScriptSourceFrame = function(sourceFrame) On 2016/11/29 21:24:29, ...
4 years ago (2016-11-29 22:30:10 UTC) #11
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/2526013002/120001
4 years ago (2016-11-29 22:30:59 UTC) #14
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/2526013002/140001
4 years ago (2016-11-29 22:48:37 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years ago (2016-11-30 00:51:39 UTC) #20
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/2526013002/140001
4 years ago (2016-12-01 07:39:58 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years ago (2016-12-01 09:47:02 UTC) #32
commit-bot: I haz the power
4 years ago (2016-12-01 09:49:16 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/698c4714e8ad986ee5e12cde0026cb9e1b70e6cc
Cr-Commit-Position: refs/heads/master@{#435589}

Powered by Google App Engine
This is Rietveld 408576698