cancel
Showing results for 
Search instead for 
Did you mean: 

Path recognition issue after STM32Cube Debug Generic GDB Server plugin update

zt
Associate

STM32Cube Debug Generic GDB Server (version 0.9.0)

Using the code below, I can debug normally.

zt_0-1761037301108.png

After updating from version 0.9.0 to later versions,There was an error during debugging。

zt_1-1761037403642.png

I tried writing to the absolute path, and it worked fine.

But the problem is, before updating the plugin, I didn't need to do this.

Since I have many projects, I don't want to modify them one by one.

So after the plugin update, is it that querying system environment variables is no longer supported or is there some other issue?

If the plugin no longer supports it, then I will have to modify each project one by one or stick with an earlier version of the plugin.

2 REPLIES 2
ElliotAlderson
Associate II

Hi zt,

Did you try setting the serverCwd attribute as mentioned in the error message?
serverCwd is the path to your OpenOCD bin directory.

 

BR,
Elliot

Thank you for your reply.

I tried writing to the absolute path, and it worked fine.

But the problem is, before updating the plugin, I didn't need to do this.

Since I have many projects, I don't want to modify them one by one.

So after the plugin update, is it that querying system environment variables is no longer supported or is there some other issue?

If the plugin no longer supports it, then I will have to modify each project one by one or stick with an earlier version of the plugin.