ipython / ipykernel

IPython Kernel for Jupyter
https://ipykernel.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
649 stars 367 forks source link

Extra debug request command "continue" will cause kernel stuck and refuse further response. #1255

Open freedom-git opened 4 months ago

freedom-git commented 4 months ago

I found this issue when I was trying to debug on a remote kernel, due to the network latency, the UI need some time to change debug status after user click "continue" button, so the user have chance to click "continue" for several times. If there is only one breakpoint in the code cell, the kernel only expect for accept one "continue" command, when the extra (second in this case) "continue" command send to kernel, kernel stucked and stop to response.

version: ipykernel 6.22.0

platform: windows

note: "next" command don't have this issue