From 64bbfbf67ada9953918d72e1df2f4d8e537d340e Mon Sep 17 00:00:00 2001 From: Rob Lourens Date: Tue, 4 Oct 2022 15:54:23 -0700 Subject: [PATCH] Don't show unbound breakpoint indicator when breakpoints are deactivated (#162700) Fix #162699 --- src/vs/workbench/contrib/debug/browser/breakpointsView.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/browser/breakpointsView.ts b/src/vs/workbench/contrib/debug/browser/breakpointsView.ts index 414b1b2494eff..42b8cbf0f94bc 100644 --- a/src/vs/workbench/contrib/debug/browser/breakpointsView.ts +++ b/src/vs/workbench/contrib/debug/browser/breakpointsView.ts @@ -294,7 +294,7 @@ export class BreakpointsView extends ViewPane { return langId && dbg.interestedInLanguage(langId); }); - if (message && debuggerHasUnverifiedBps?.length) { + if (message && debuggerHasUnverifiedBps?.length && this.debugService.getModel().areBreakpointsActivated()) { if (delayed) { const mdown = new MarkdownString(undefined, { isTrusted: true }).appendMarkdown(message); this.hintContainer.setLabel('$(warning)', undefined, { title: { markdown: mdown, markdownNotSupportedFallback: message } });