Skip to content

Commit

Permalink
Update src/vs/workbench/contrib/debug/browser/debugSession.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Peet <connor@peet.io>
  • Loading branch information
gayanper and connor4312 committed Dec 18, 2023
1 parent 1275188 commit 2f5c1bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/debug/browser/debugSession.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 2f5c1bd

Please sign in to comment.