Skip to content

Commit

Permalink
Fix enable/disable of verified breakpoints
Browse files Browse the repository at this point in the history
Signed-off-by: thegecko <rob.moran@arm.com>
  • Loading branch information
thegecko authored and paul-marechal committed May 14, 2021
1 parent d734315 commit 76f74f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/debug/src/browser/model/debug-source-breakpoint.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ export class DebugSourceBreakpoint extends DebugBreakpoint<SourceBreakpoint> imp
const { uri, raw } = this;
let shouldUpdate = false;
let breakpoints = raw && this.doRemove(this.origins.filter(origin => !(origin.raw.line === raw.line && origin.raw.column === raw.column)));
if (breakpoints) {
// Check for breakpoints array with at least one entry
if (breakpoints && breakpoints.length) {
shouldUpdate = true;
} else {
breakpoints = this.breakpoints.getBreakpoints(uri);
Expand Down

0 comments on commit 76f74f1

Please sign in to comment.