2025-10-21 1:22 AM
从0.9.0更新到之后的版本后,我的launch.json文件中添加的stgdbtarget方式的调试器中openocd必须要配置绝对路径才能找到了。
以前只需要像图片中这样,就可以通过系统环境变量自动找到openocd,并正常完成调试。
现在必须在serverCwd中指定openocd的路径了,否则提示GBD server is undefined.
是我之前的写法就不严谨还是插件(STM32Cube Debug Generic GDB Server)更新后对这方面有别的要求了?
2025-10-21 1:54 AM
Hello,
Please kindly use English in this community. Please read How to write your question to maximize your chances to find a solution
Thank you for your understanding.