Skip to content

Commit

Permalink
Don't show unbound breakpoint indicator when breakpoints are deactiva…
Browse files Browse the repository at this point in the history
…ted (#162700)

Fix #162699
  • Loading branch information
roblourens authored Oct 4, 2022
1 parent f3c3463 commit 64bbfbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/browser/breakpointsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 } });
Expand Down

0 comments on commit 64bbfbf

Please sign in to comment.