You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unhandled: on_breakpointlocations_request not available in PyDevJsonCommandProcessor causing debugger to freeze and breakpoints to fail #1047
This morning i repeated the python debugging test on my home pc (instead of my work pc).
Since my home pc is basically only used for gaming, and barely has any development tools installed besides VSCode and Python, I would have expected it to work out of the box. Just like it used to do the past year.
I also didn't run the pc for a few weeks so windows or other software didn't get time to update yet.
I opened VScode, it automatically updated the extensions, and a hello world example also failed with the exact same error.
Why is microsoft pushing updates that are not working properly?
Frankly at this point i dont care what is causing the issue, i need a solution to rollback my system to a working state.
Its been 3 days now that I cannot work properly because Python +VSCode decided to stop working.
As fallback i installed pycharm now, and there the debugging works fine even with debugpy.
So the issue seems to be with VSCode and not debugpy or python itself.
Finally got vscode to work again with python.
A simple downgrade or reinstall of software versions (vscode, vscode extensions or even python itself) didnt work.
Installing pre-release extensions didnt work.
I had to do a hard reset of the vscode configuration by renaming the c:\users\foo\.vscode folder to something else.
You will loose all your configurations and extensions, but afterwards python works again.
(simply disabling all extensions except python related ones also didnt work...)
So the issue seems related to upgrading from an earlier (specific?) vscode configuration to the latest versions.
Also tested with a docker based debug solution, and that kept working but was not usable for me due the the windows GUI requirement of my project.
OKE FINAL CONCLUSION:
If i install the VSCode extension "Arm Keil Studio Pack (MDK v6)" (which is C/C++ language!) then my python environment breaks!
If i disable or uninstall the MDK v6 extension then Python debugger works again! What the hell.
Why does one extension influence another? Even from a completely different language?
Perhaps original OP can confirm he is also using MDK v6?
Reacted by Gazy Mahomar, John Gomez and Vladislav Komarov
Hello, I was having the same problem and I can confirm that uninstalling the ARM keil studio pack (MDK 6.0) fixes it (thank you AnatechRyan ). I think we should open an issue on that extension because it's kind of infuriating that it can break another extension just like that.
That having said, this is a mayor security issue in VSCode, that one completely unrelated extension can influence the outcome of another. Before we know it some rogue extension, that's supposedly not even active, is influencing my build environment adding trojans and what not.
In general I completely dislike the way VSCode handles extensions, by enabling them by default and apparently allowing them to influence each other. Imho extensions should be disabled by default and should manually be enabled per workspace! Preferably each workspace runs in its own virtual environment (docker like, but running native).
But I'm drifting off, I leave it to the experts to do whatever they think is proper.
Closing this for now as it's not a vscode-python-debugger problem. I'd hazard a guess it's not ARM keil studio pack's problem either. VS code is getting confused about which debugger supports breakpoint locations is my guess.
Activity
2312469331 commentedon May 29, 2026
}
rchiodo commentedon May 29, 2026
This works for me. Not sure why you'd be getting that error.
Can you turn on logging? like this:
That should generate a bunch of log files in the same folder that the debugger extension is installed. From your output that looks like this folder:
C:\Users\Administrator\.vscode\extensions\ms-python.debugpy-2026.6.0-win32-x64The log files should end up there. Hopefully they'll help diagnose what the issue is.
rchiodo commentedon May 29, 2026
Debugpy doesn't support the breakpoint locations request so VS code shouldn't be sending it. This is the list of supported capabilities:
https://github.com/microsoft/debugpy/blob/4c70e13d0e3fc8eee5013cd2a41c7a6d752d55d3/src/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_process_net_command_json.py#L186
rchiodo commentedon May 29, 2026
The log files should show our response to initialize, which theoretically shouldn't include 'supportsBreakpointLocations' in it.
AnatechRyan commentedon Jun 3, 2026
Exact same issue here, cannot debug any python file. Starting and stopping the program is very slow.
Tried to fix it:
Result same:
Unhandled:` on_breakpointlocations_request not available in PyDevJsonCommandProcessor.Downgraded Python VSCode extensions to 2025 versions for both python and the python debugger.
Same issue.
Spend 4 hours trying to get this fixed. Nothing works.
Additionally cleaned python projects .venv, pycache folders etc.
Didnt help.
Debugger broken.
Version
Identifier ms-python.python Version 2026.4.0
Identifier ms-python.debugpy Version 2026.6.0
Relevant logs
Additional Notes
Same as OP:
Issue started around a week ago (after VS Code/debugpy update).
Collegue's PC, running exact same VSCode version, Python version and extension version it works fine.
rchiodo commentedon Jun 3, 2026
I need the initialize response. That would show if we said we support breakpointLocations or not.
It should look something like this:
AnatechRyan commentedon Jun 4, 2026
AnatechRyan commentedon Jun 4, 2026
This morning i repeated the python debugging test on my home pc (instead of my work pc).
Since my home pc is basically only used for gaming, and barely has any development tools installed besides VSCode and Python, I would have expected it to work out of the box. Just like it used to do the past year.
I also didn't run the pc for a few weeks so windows or other software didn't get time to update yet.
I opened VScode, it automatically updated the extensions, and a hello world example also failed with the exact same error.
Why is microsoft pushing updates that are not working properly?
Frankly at this point i dont care what is causing the issue, i need a solution to rollback my system to a working state.
Its been 3 days now that I cannot work properly because Python +VSCode decided to stop working.
As fallback i installed pycharm now, and there the debugging works fine even with debugpy.
So the issue seems to be with VSCode and not debugpy or python itself.
AnatechRyan commentedon Jun 4, 2026
Finally got vscode to work again with python.
A simple downgrade or reinstall of software versions (vscode, vscode extensions or even python itself) didnt work.
Installing pre-release extensions didnt work.
I had to do a hard reset of the vscode configuration by renaming the
c:\users\foo\.vscodefolder to something else.You will loose all your configurations and extensions, but afterwards python works again.
(simply disabling all extensions except python related ones also didnt work...)
So the issue seems related to upgrading from an earlier (specific?) vscode configuration to the latest versions.
Also tested with a docker based debug solution, and that kept working but was not usable for me due the the windows GUI requirement of my project.
AnatechRyan commentedon Jun 4, 2026
OKE FINAL CONCLUSION:
If i install the VSCode extension "Arm Keil Studio Pack (MDK v6)" (which is C/C++ language!) then my python environment breaks!
If i disable or uninstall the MDK v6 extension then Python debugger works again! What the hell.
Why does one extension influence another? Even from a completely different language?
Perhaps original OP can confirm he is also using MDK v6?
rchiodo commentedon Jun 4, 2026
I would hazard a guess that the MDK v6 extension is somehow participating in Python debugging when it shouldn't.
Giuseppe-La-Capra commentedon Jun 7, 2026
Hello, I was having the same problem and I can confirm that uninstalling the ARM keil studio pack (MDK 6.0) fixes it (thank you AnatechRyan ). I think we should open an issue on that extension because it's kind of infuriating that it can break another extension just like that.
AnatechRyan commentedon Jun 8, 2026
That's a good idea Giuseppe La Capra (@Giuseppe-La-Capra) , however I wont be spending more time on this matter. I need to work and get things done.
That having said, this is a mayor security issue in VSCode, that one completely unrelated extension can influence the outcome of another. Before we know it some rogue extension, that's supposedly not even active, is influencing my build environment adding trojans and what not.
In general I completely dislike the way VSCode handles extensions, by enabling them by default and apparently allowing them to influence each other. Imho extensions should be disabled by default and should manually be enabled per workspace! Preferably each workspace runs in its own virtual environment (docker like, but running native).
But I'm drifting off, I leave it to the experts to do whatever they think is proper.
rchiodo commentedon Jun 8, 2026
Closing this for now as it's not a vscode-python-debugger problem. I'd hazard a guess it's not ARM keil studio pack's problem either. VS code is getting confused about which debugger supports breakpoint locations is my guess.