diff --git a/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts b/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts index aa7ab768580..08e51da9c74 100644 --- a/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts +++ b/src/vs/workbench/contrib/debug/browser/breakpointEditorContribution.ts @@ -173,8 +173,8 @@ function createCandidateDecorations(model: ITextModel, breakpointDecorations: IB const lastColumn = model.getLineLastNonWhitespaceColumn(lineNumber); positions.forEach(p => { const range = new Range(p.lineNumber, p.column, p.lineNumber, p.column + 1); - if (p.column <= firstColumn || p.column > lastColumn) { - // Do not render candidates on the start of the line. + if ((p.column <= firstColumn && !breakpointDecorations.some(bp => bp.range.startColumn > firstColumn && bp.range.startLineNumber === p.lineNumber)) || p.column > lastColumn) { + // Do not render candidates on the start of the line if there's no other breakpoint on the line. return; }