STM32Cube Debug Core constantly causes the extension host to crash
I am reporting a critical issue where the STM32Cube Debug Core extension causes the VS Code Extension Host to crash repeatedly.
Through VS Code's built-in diagnostic tools (specifically the "Extension Host" profiling and crash logs), I have confirmed that the crashes originate directly from this extension. This issue severely disrupts the debugging workflow. While it appears primarily on macOS, other platforms may also be affected but require further investigation.
Please note that updating VS Code to the latest version does not resolve this issue.
Environment Details:
- OS: macOS 26.6.2 (Apple Silicon/Universal)
- VS Code Version: 1.133.0 (Universal)
- Extension Version: STM32Cube Debug Core v1.4.0
- Electron: 42.8.0
- Node.js: 24.18.0
Steps to Reproduce:
- Install the STM32Cube Debug Core extension (v1.4.0) in Visual Studio Code.
- Enable the extension and reload the window if necessary.
- Wait for a short period or attempt to initialize a debug session.
- Observe the "Extension Host" crashing notification appearing in the bottom right corner.
- Note: Restarting VS Code may be required to trigger the crash loop initially.
Actual Result:
The Extension Host terminates unexpectedly multiple times. VS Code displays an error stating: "The extension host terminated unexpectedly." Diagnostic logs point to stm32cube.debug-core as the source of the failure.
Expected Result:
The Extension Host should remain stable, allowing for normal debugging operations without crashing.
Additional Context:
I have verified via the VS Code Developer Tools that no other extensions are conflicting. The issue persists even after a clean reinstall of the extension and updating VS Code to version 1.133.0.
