Skip to content

Commit 7d8a845

Browse files
committed
1 parent 2156b87 commit 7d8a845

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,11 +335,12 @@ class BreakpointsRenderer implements IRenderer<IBreakpoint, IBreakpointTemplateD
335335
const debugActive = this.debugService.state === State.Running || this.debugService.state === State.Stopped;
336336
if (debugActive && !breakpoint.verified) {
337337
dom.addClass(data.breakpoint, 'disabled');
338-
if (breakpoint.message) {
339-
data.breakpoint.title = breakpoint.message;
340-
}
341-
} else if (breakpoint.condition || breakpoint.hitCondition) {
338+
}
339+
340+
if (breakpoint.condition || breakpoint.hitCondition) {
342341
data.breakpoint.title = breakpoint.condition ? breakpoint.condition : breakpoint.hitCondition;
342+
} else {
343+
data.breakpoint.title = breakpoint.message || '';
343344
}
344345
}
345346

0 commit comments

Comments
 (0)