Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interrupt/Restart Slow or Not Working #7867

Closed
claudiaregio opened this issue Oct 7, 2021 · 4 comments
Closed

Interrupt/Restart Slow or Not Working #7867

claudiaregio opened this issue Oct 7, 2021 · 4 comments
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)

Comments

@claudiaregio
Copy link
Contributor

I have a hunch that interrupt not working is coming from the cell level based on previous feedback and my own experience as well. The cell level interrupt sometimes just doesn't work and requires restarting the entire kernel.

image

@greazer
Copy link
Member

greazer commented Oct 8, 2021

My understanding is that sometimes the kernel cannot be restarted or interrupted because it's executing code outside of the Python kernel proper. In these cases, the external code has to finish running before an interrupt will be honored.

Wouldn't this problem also happen in Jupyter Lab and Jupyter Notebook?

@rchiodo rchiodo transferred this issue from microsoft/vscode Oct 8, 2021
@rchiodo
Copy link
Contributor

rchiodo commented Oct 8, 2021

Interrupt is handled by the jupyter extension

@rchiodo rchiodo added the bug Issue identified by VS Code Team member as probable bug label Oct 8, 2021
@greazer greazer added notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel) and removed needs-triage labels Oct 11, 2021
@greazer greazer added this to the October 2021 milestone Oct 11, 2021
@DonJayamanne DonJayamanne changed the title Notebooks - Interrupt/Restart Slow or Not Working Interrupt/Restart Slow or Not Working Oct 12, 2021
@DonJayamanne
Copy link
Contributor

DonJayamanne commented Oct 12, 2021

Interrupt is slow or doesn't work on windows, this is a know issue for Windows (nothing much we can do)
Restart is slow is documented here #7849

Interrupt button will be moved to VS Code core #7661
Closing as a duplicate of #7849

@rzhao271 rzhao271 removed this from the October 2021 milestone Oct 27, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug notebook-execution Kernels issues (start/restart/switch/execution, install ipykernel)
Projects
None yet
Development

No branches or pull requests

7 participants
@rebornix @DonJayamanne @rzhao271 @greazer @claudiaregio @rchiodo and others