diff --git a/CHANGELOG.md b/CHANGELOG.md index 172078ed703c..f44320095159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -90,6 +90,8 @@ ([#12169](https://github.com/Microsoft/vscode-python/issues/12169)) 1. Disable `Sort Imports` command in `Notebook Cells`. ([#12193](https://github.com/Microsoft/vscode-python/issues/12193)) +1. Fix debugger continue event to actually change a cell. + ([#12155](https://github.com/Microsoft/vscode-python/issues/12155)) ### Code Health diff --git a/src/client/datascience/interactive-ipynb/nativeEditorRunByLineListener.ts b/src/client/datascience/interactive-ipynb/nativeEditorRunByLineListener.ts index 40403a0528f0..2051c09bea0a 100644 --- a/src/client/datascience/interactive-ipynb/nativeEditorRunByLineListener.ts +++ b/src/client/datascience/interactive-ipynb/nativeEditorRunByLineListener.ts @@ -105,18 +105,18 @@ export class NativeEditorRunByLineListener private async handleStep() { // User issued a step command. - this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined }); + this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun }); return this.debugService.step(); } private async handleContinue() { // User issued a continue command - this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined }); + this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun }); return this.debugService.continue(); } private async handleContinueEvent() { // Tell the ui to erase the current IP - this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: undefined }); + this.postEmitter.fire({ message: InteractiveWindowMessages.ShowContinue, payload: this.currentCellBeingRun }); } }