diff --git a/src/ide/views/editors.ts b/src/ide/views/editors.ts index 66c7d5b4..f4cf7b51 100644 --- a/src/ide/views/editors.ts +++ b/src/ide/views/editors.ts @@ -608,7 +608,7 @@ export class SourceEditor implements ProjectView { refreshDebugState(moveCursor: boolean) { var line = this.getActiveLine(); - if (!line && !this.currentDebugLine && !moveCursor) { + if (!moveCursor && (line === this.currentDebugLine || (!line && !this.currentDebugLine))) { return; }