-
Notifications
You must be signed in to change notification settings - Fork 287
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
debug cell in jupyter notebook never executes or reaches breakpoint #9316
Comments
May be my mistake...I will look into this further and reopen if this is not my error. |
I made a mistake when testing the python script cell debugging--python script cell debugging works as expected. However the jupyter cell debugging does appear to be broken to me. |
Can you check which version of ipykernel you have? And can you set |
@roblourens Not sure how to set the logging info...I just set it in the launch.json file. Selected Jupyter core packages... Info 22:49:51: Executing silently Code (idle) = import ipykernel\nprint(ipykernel.version) Nothing is shown on the call stack, and when I "disconnect" nothing else is logged. |
It goes in your settings, and when that's present there will be some logs telling us what happened when we tried to start debugging |
@ybagdasa and @dmho418 We've had some issues recently with the version of ipykernel / debugpy in use. Can you try updating those and see if that helps? Looks like that update helped @Don-Felice . If you are still reproing I'd love the versions of ipykernel and debugpy that are in use. |
@IanMatthewHuff upgraded to ipykernel 6.11.0, the debugger is working now. Thanks! |
@ybagdasa Given that this update helped both @dmho418 and @Don-Felice I'm going to close down this issue. If you are still seeing the problem with an updated ipykernel just message back here and I can reopen the issue. |
@IanMatthewHuff Confirming, that was indeed the issue. Working now with upgraded ipykernel. |
Issue Type: Bug
The debug cell feature has stopped working in jupyter notebooks, while still working in python scripts. I've observed this with different breakpoints in different source files.
For jupyter cells, the execution just hangs with the options to step over, step into... etc grayed out. Only options to pause, reset, and disconnect debugger are available. Upon disconnecting, nothing is output from the cell.
Additionally I've noticed that sometimes when the notebook is first opened there is no option to debug the cell. After executing the cell, the option appears.
VS Code version: Code 1.64.2 (f80445acd5a3dadef24aa209168452a3d97cc326, 2022-02-09T22:02:29.527Z)
OS version: Linux x64 5.13.0-30-generic snap
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-97-generic
System Info
gpu_compositing: disabled_software
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: disabled_off
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: unavailable_software
webgl2: unavailable_software
Extensions (20)
A/B Experiments
The text was updated successfully, but these errors were encountered: