Pyhon debugger stops at removed breakpoint #16406
Labels
bug
Issue identified by VS Code Team member as probable bug
notebook-debugging
triage-needed
Issue needs to be triaged
verification-found
Issue verification failed
Milestone
Type: Bug
The Python debugger in the VS Code Juypter extension does not recognize when the last breakpoint in a notebook is removed. To see this, create a new notebook and choose a Python kernel. Create two cells:
Cell 1:
Cell 2:
if
statement infib(.)
.It seems the debugger cannot handle the situation in which we go from one to zero breakpoints. Modify the function above to:
if n < 2
line as above.raise
line.This is not a new bug: it has been happening for many months on multiple versions of VS Code, extensions and Python.
Extension version: 2024.11.0
VS Code version: Code 1.96.4 (cd4ee3b1c348a13bafd8f9ad8060705f6d4b9cba, 2025-01-16T00:16:19.038Z)
OS version: Linux x64 6.8.0-51-generic
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: