Skip to main content
Associate
Aug 22, 2026 1:30 PM UTC
Question

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:

  1. Install the STM32Cube Debug Core extension (v1.4.0) in Visual Studio Code.
  2. Enable the extension and reload the window if necessary.
  3. Wait for a short period or attempt to initialize a debug session.
  4. 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.

3 replies

Cartu38 OpenDev
Graduate II
Aug 22, 2026 2:01 PM UTC

​@Meyerii 

1.133.0 is very old no ?

Have you got a try with latest one ?

Visitor II
Nov 9, 2026 4:58 PM UTC

I am experiencing a similar termination issue as well, but VSCode extension bisect (developer tools) points to the “STM32CubeIDE for Visual Studio Code Core” extension as the isolated problem. Same steps to reproduce as OP.

Environment Details:

  • OS: macOS 26.5.2 (Apple Silicon/Universal)
  • VS Code Version: 1.145.2 (Universal)
  • Extension Version: STM32CubeIDE Core v1.5.0
  • Electron: 43.8.3
  • Node.js: 24.22.1
  • Chromium: 150.0.7871.250
Julien D
ST Employee
Nov 10, 2026 9:49 AM UTC

Hi ​@Meyerii ​@tpg,

Working in a very similar environment on a daily basis, I have never observed VS Code crashing during the launch of an STM32Cube debug session.

Could you share more logs or screenshots of the error(s) that would help us figure out what is really happening?

In addition, could you also share the status of the STM32Cube extensions as shown in Show Running Extensions?

 

Plus the contents of the STM32Cube Core, STM32Cube CMake Build and STM32Cube Debug Core output channels once extensions are initialized.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.