Closed r3m0t closed 2 years ago
I'll have to look into why that toolbar button is disabled. It seems that the stop button on the cell (where the run button normally is) is enabled and works fine when debugging.
Same issue, after disconnect debug, interrupt
button disabled, I can't interrupt it.
Seems fixed now
Applies To
What happened?
Created a cell with infinite loop
Add a breakpoint to the first cell
Created another cell which calls into that cell
Debug the second cell
You are now debugging and able to step through. Debug toolbar is visible.
The debug toolbar doesn't show the stop icon, only disconnect.
If you disconnect then the cell just executes forever, debug toolbar disappears and the Interrupt button is disabled. Only option left is restarting the kernel in the notebook toolbar.
As for the restart button in the debug toolbar, it does something but I have no idea what. I think it's disconnecting and then reconnecting the debug session, but the code has just kept executing.
VS Code Version
Version: 1.70.2 (user setup) Commit: e4503b30fc78200f846c62cf8091b76ff5547662 Date: 2022-08-16T05:35:13.448Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19044
Jupyter Extension Version
Name: Jupyter Id: ms-toolsai.jupyter Description: Jupyter notebook support, interactive programming and computing that supports Intellisense, debugging and more. Version: 2022.8.1002381050 Publisher: Microsoft VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
Jupyter logs
Coding Language and Runtime Version
conda, python 3.9
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local