Skip to content

Commit 945d896

Browse files
IanMatthewHuffIan Huff
and
Ian Huff
authored
Port run by line stepping fix to release (#12223)
* fix continue event to run cell (#12211) Co-authored-by: Ian Huff <[email protected]> * update changelog and delete news file Co-authored-by: Ian Huff <[email protected]>
1 parent 22092d9 commit 945d896

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
([#12169](https://github.com/Microsoft/vscode-python/issues/12169))
9393
1. Disable `Sort Imports` command in `Notebook Cells`.
9494
([#12193](https://github.com/Microsoft/vscode-python/issues/12193))
95+
1. Fix debugger continue event to actually change a cell.
96+
([#12155](https://github.com/Microsoft/vscode-python/issues/12155))
9597

9698
### Code Health
9799

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)