2026-01-27 11:36 AM - last edited on 2026-01-27 12:33 PM by TDK
Hi,
I can't debug my application through GDB and ST-Link when the computer has no internet connection. I get this error:
All bundles, both System and project, are up-to-date. When I connect to the internet, I can debug fine, but when I then disconnect and immediately try again (without exiting VS Code), I can't debug anymore.
IMO debugging should be possible without an internet connection, e.g. when having to fix an error in the field.
Regards,
Niklas
2026-01-27 11:39 AM - edited 2026-01-27 11:40 AM
You should consider STM32 for VSCode as requiring an internet connection for functionality, at least with default/supported settings. This is unlikely to change in the near future. Consider this when you choose your IDE.
Connectivity issues of stm32cubeIDE for Vscode - STMicroelectronics Community
STM32CubeIDE for Visual Studio - Offline Mode - STMicroelectronics Community
2026-01-27 11:50 AM
The error message suggests that the extension simply fails to parse the cube-wrapper's stdout output, as it contains an error text instead of JSON. IMO it shouldn't be so hard for the extension to detect the fact that cube-wrapper didn't output JSON and can't update anything currently, and just resume debugging without updating bundles.