How to stop a cell in VS Code

How do I stop a cell that’s running in VS Code? The Stop button does nothing at all, nor does Ctrl+C. Since I took this screenshot, the cell chugged along for another 10 minutes until I finally gave up and had to restart VS Code.

1 Like

Do you have the Julia extension installed? If not you should.
If it is the case, if you have a running cell for too long, the best way is to stop the notebook in the workspace like here, by pressing the red rectangle:

Capture d’écran 2022-04-25 à 22.28.23

EDIT: there is a similar topic here: Can't restart kernel in VSCode jupyter notebook

2 Likes

This doesn’t kill the running cell, in the sense that I still see a timer in the code block running. The workspace is wiped out as it should, but I can’t go beyond the code block where I stopped.

1 Like

I have the same question.

Hi photor, if you can, can you also post your issue on microsoft/vscode-jupyter? Having more voices would speed up solving the problem.