1 parent 1de2f59 commit f830bc2Copy full SHA for f830bc2
1 file changed
src/ide/views/editors.ts
@@ -608,7 +608,7 @@ export class SourceEditor implements ProjectView {
608
609
refreshDebugState(moveCursor: boolean) {
610
var line = this.getActiveLine();
611
- if (!line && !this.currentDebugLine && !moveCursor) {
+ if (!moveCursor && (line === this.currentDebugLine || (!line && !this.currentDebugLine))) {
612
return;
613
}
614
0 commit comments