Skip to content

Commit d386b49

Browse files
committed
1 parent 54151bb commit d386b49

5 files changed

Lines changed: 6 additions & 47 deletions

File tree

src/vs/base/browser/ui/codiconLabel/codicon/codicon.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,6 @@
396396
.codicon-debug-breakpoint-function:before { content: "\eb88" }
397397
.codicon-debug-breakpoint-function-disabled:before { content: "\eb88" }
398398
.codicon-debug-breakpoint-stackframe-active:before { content: "\eb89" }
399-
.codicon-debug-breakpoint-stackframe-dot:before { content: "\eb8a" }
400399
.codicon-debug-breakpoint-stackframe:before { content: "\eb8b" }
401400
.codicon-debug-breakpoint-stackframe-focused:before { content: "\eb8b" }
402401
.codicon-debug-breakpoint-unsupported:before { content: "\eb8c" }

src/vs/workbench/contrib/debug/browser/breakpointsView.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -713,25 +713,6 @@ export function getBreakpointMessageAndClassName(debugService: IDebugService, br
713713
};
714714
}
715715

716-
const focusedThread = debugService.getViewModel().focusedThread;
717-
if (focusedThread) {
718-
const callStack = focusedThread ? focusedThread.getCallStack() : undefined;
719-
const topStackFrame = callStack ? callStack[0] : undefined;
720-
if (topStackFrame && topStackFrame.source.uri.toString() === breakpoint.uri.toString() && topStackFrame.range.startLineNumber === breakpoint.lineNumber) {
721-
if (topStackFrame.range.startColumn === breakpoint.column) {
722-
return {
723-
className: 'codicon-debug-breakpoint-stackframe-dot',
724-
message: breakpoint.message || nls.localize('breakpoint', "Breakpoint")
725-
};
726-
} else if (breakpoint.column === undefined) {
727-
return {
728-
className: 'codicon-debug-breakpoint',
729-
message: breakpoint.message || nls.localize('breakpoint', "Breakpoint")
730-
};
731-
}
732-
}
733-
}
734-
735716
return {
736717
className: 'codicon-debug-breakpoint',
737718
message: breakpoint.message || nls.localize('breakpoint', "Breakpoint")

src/vs/workbench/contrib/debug/browser/debugCallStackContribution.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ registerThemingParticipant((theme, collector) => {
187187
.monaco-workbench .codicon-debug-breakpoint-data,
188188
.monaco-workbench .codicon-debug-breakpoint-unsupported,
189189
.monaco-workbench .codicon-debug-hint:not([class*='codicon-debug-breakpoint']),
190-
.monaco-workbench .codicon-debug-breakpoint-stackframe-dot,
191-
.monaco-workbench .codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe-focused::after {
190+
.monaco-workbench .codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe-focused::after,
191+
.monaco-workbench .codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe::after {
192192
color: ${debugIconBreakpointColor} !important;
193193
}
194194
`);
@@ -215,8 +215,7 @@ registerThemingParticipant((theme, collector) => {
215215
const debugIconBreakpointCurrentStackframeForegroundColor = theme.getColor(debugIconBreakpointCurrentStackframeForeground);
216216
if (debugIconBreakpointCurrentStackframeForegroundColor) {
217217
collector.addRule(`
218-
.monaco-workbench .codicon-debug-breakpoint-stackframe,
219-
.monaco-workbench .codicon-debug-breakpoint-stackframe-dot::after {
218+
.monaco-workbench .codicon-debug-breakpoint-stackframe {
220219
color: ${debugIconBreakpointCurrentStackframeForegroundColor} !important;
221220
}
222221
`);

src/vs/workbench/contrib/debug/browser/media/debug.contribution.css

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,10 @@
1616
align-items: center;
1717
}
1818

19-
/* overlapped icons */
20-
.inline-breakpoint-widget.codicon-debug-breakpoint-stackframe-dot::after {
21-
position: absolute;
22-
top: 0;
23-
left: 0;
24-
bottom: 0;
25-
margin: auto;
26-
display: table;
27-
}
28-
29-
.codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe-focused::after {
30-
position: absolute;
31-
}
32-
33-
.inline-breakpoint-widget.codicon-debug-breakpoint-stackframe-dot::after {
34-
content: "\eb8b";
35-
}
36-
37-
.codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe-focused::after {
19+
.codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe-focused::after,
20+
.codicon-debug-breakpoint.codicon-debug-breakpoint-stackframe::after {
3821
content: "\eb8a";
22+
position: absolute;
3923
}
4024

4125
.monaco-editor .inline-breakpoint-widget.line-start {

src/vs/workbench/contrib/debug/browser/media/debugViewlet.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -374,10 +374,6 @@
374374
justify-content: center;
375375
}
376376

377-
.debug-viewlet .debug-breakpoints .breakpoint > .codicon-debug-breakpoint-stackframe-dot::before {
378-
content: "\ea71";
379-
}
380-
381377
.debug-viewlet .debug-breakpoints .breakpoint > .file-path {
382378
opacity: 0.7;
383379
font-size: 0.9em;

0 commit comments

Comments
 (0)