Skip to main content
Visitor II
October 21, 2025
Question

Path recognition issue after STM32Cube Debug Generic GDB Server plugin update

  • October 21, 2025
  • 1 reply
  • 533 views

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.

    This topic has been closed for replies.

    1 reply

    Graduate
    October 21, 2025

    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

    ztAuthor
    Visitor II
    October 21, 2025

    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.