2025-10-21 2:04 AM - edited 2025-10-21 4:18 AM
STM32Cube Debug Generic GDB Server (version 0.9.0)
Using the code below, I can debug normally.
After updating from version 0.9.0 to later versions,There was an error during debugging。
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.
2025-10-21 2:21 AM
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
2025-10-21 2:59 AM
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.