Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions news/2 Fixes/12155.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix debugger continue event to actually change a cell.
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This event was hooked up previously, but wasn't passing in a payload so it wasn't changing the cell in the reducer.

}
}