Skip to content

Commit 4531ebc

Browse files
IanMatthewHuffIan Huff
and
Ian Huff
authored
fix continue event to run cell (#12211)
Co-authored-by: Ian Huff <[email protected]>
1 parent 19bb7df commit 4531ebc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

news/2 Fixes/12155.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix debugger continue event to actually change a cell.

src/client/datascience/interactive-ipynb/nativeEditorRunByLineListener.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,18 +105,18 @@ export class NativeEditorRunByLineListener
105105

106106
private async handleStep() {
107107
// User issued a step command.
108-
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined });
108+
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun });
109109
return this.debugService.step();
110110
}
111111

112112
private async handleContinue() {
113113
// User issued a continue command
114-
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined });
114+
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun });
115115
return this.debugService.continue();
116116
}
117117

118118
private async handleContinueEvent() {
119119
// Tell the ui to erase the current IP
120-
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined });
120+
this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun });
121121
}
122122
}

0 commit comments

Comments
 (0)