Skip to main content
Visitor II
Jul 30, 2025 6:41 PM UTC
Solved

Error while debugging other python projects

I get a Unhandled: on_readmemory_request not available in PyDevJsonCommandProcessor. error while debugging other python projects. This issue gets resolved when I disable the STM32Cub for Visual Studio Code Core extension and its related extensions.

To reproduce: 

Open an existing python project or package (workspace)

Launch the debug session. 

It tries to start the session and in a few seconds throws this error and stops the debugger.

Unhandled: on_readmemory_request not available in PyDevJsonCommandProcessor.

Please see https://github.com/microsoft/vscode/issues/249341#issuecomment-3064965337

 

Nawres GHARBI
Nawres GHARBIBest answer
ST Technical Moderator
Oct 7, 2025 1:27 PM UTC

Hi @Burrr 

we are currently working on a fix for this issue and this will be delivered next release (November) or later on, will depend on validation findings

please do not hesitate to contact me for further details

#ticket: T1IDE-2888

6 replies

Cartu38 OpenDev
Graduate II
Jul 31, 2025 5:52 AM UTC

Maybe good practice is to rely on VSCode's profiles what are promoting some isolation kind: https://code.visualstudio.com/docs/configure/profiles

Nawres GHARBI
Nawres GHARBIBest answer
ST Technical Moderator
Oct 7, 2025 1:27 PM UTC

Hi @Burrr 

we are currently working on a fix for this issue and this will be delivered next release (November) or later on, will depend on validation findings

please do not hesitate to contact me for further details

#ticket: T1IDE-2888

Explorer
Nov 7, 2025 9:54 AM UTC

Hi @Nawres GHARBI ,

 

We have the same problem here.

Can we have an update on the solution ?

Or maybe a link to the issue feed?

 

Thanks,

Arnaud

Andrew Neil
Super User
Nov 7, 2025 10:01 AM UTC

@ArnaudC wrote:

Or maybe a link to the issue feed?


Sadly, the ST ticketing system is internal and not visible to customers.

Usually, ST people make this clear when referring to internal tickets; eg, here.

@Nawres GHARBI 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Nawres GHARBI
ST Technical Moderator
Nov 10, 2025 9:06 AM UTC

Hello the fix is already implemented and will be in the coming release end of W47

ST Employee
Nov 25, 2025 6:36 AM UTC

@Burrr @Andrew Neil @ArnaudC @Cartu38 OpenDev 

Please be aware that the issue has been fixed and the extension update is now available.

vincent_grenet_0-1764052436754.png

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.