Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Lourens <roblourens@gmail.com>2022-10-05 01:54:23 +0300
committerGitHub <noreply@github.com>2022-10-05 01:54:23 +0300
commit64bbfbf67ada9953918d72e1df2f4d8e537d340e (patch)
tree3d7db7dbb51a7816d847be1a3e07c0c3a6904ad9
parentf3c3463a25077f7f4167ddd6ba1e54322e2e0663 (diff)
Don't show unbound breakpoint indicator when breakpoints are deactivated (#162700)1.72.0
Fix #162699
-rw-r--r--src/vs/workbench/contrib/debug/browser/breakpointsView.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/debug/browser/breakpointsView.ts b/src/vs/workbench/contrib/debug/browser/breakpointsView.ts
index 414b1b2494e..42b8cbf0f94 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 } });