From 2f5c1bd94b1e2324a4c1f8b675ef7a455d78d499 Mon Sep 17 00:00:00 2001 From: Gayan Perera Date: Mon, 18 Dec 2023 18:58:26 +0100 Subject: [PATCH] Update src/vs/workbench/contrib/debug/browser/debugSession.ts Co-authored-by: Connor Peet --- src/vs/workbench/contrib/debug/browser/debugSession.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/debug/browser/debugSession.ts b/src/vs/workbench/contrib/debug/browser/debugSession.ts index 4c2d0489127868..2db85edb58c7d0 100644 --- a/src/vs/workbench/contrib/debug/browser/debugSession.ts +++ b/src/vs/workbench/contrib/debug/browser/debugSession.ts @@ -1304,7 +1304,7 @@ export class DebugSession implements IDebugSession, IDisposable { } // find the current breakpoints - const breakpoints = this.model.getBreakpoints({ uri: frame?.source.uri }).filter(bp => { + const breakpoints = hitBreakpoints.map(someLookupFunction) || this.model.getBreakpoints({ uri: frame?.source.uri }).filter(bp => { if (bp.lineNumber < frame.range.startLineNumber || bp.lineNumber > frame.range.endLineNumber) { return false; }