Skip to main content
Explorer
October 23, 2025
Question

VS Code extension STM32Cube Build Analyzer crashes when opening medium-sized projects

  • October 23, 2025
  • 1 reply
  • 252 views

Hi,

The Build Analyzer extension in VSCode consistently crashes when I attempt to open or analyze medium-sized projects. The IDE itself not responsive anymore and the Build Analyzer crash unexpectedly.

Steps to Reproduce:

  1. Open VS Code STM32Cube Build Analyzer (extension v1.0.2)
  2. Load elf file into STM32Cube Build Analyzer
  3. Observe the crash extension and freeze IDE

Expected Behavior:
The Build Analyzer should open and display memory and code size statistics without crashing.

Actual Behavior:
The Build Analyzer crashes or fails to load, making it unusable for project analysis.

Additional Info:

  • No error message is shown
  • IDE logs do not indicate a specific cause
  • Issue is reproducible across multiple similar projects


Regards
Uwe

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 23, 2025

    @UStre.2 

    Thanks for reporting the issue. We apologize for the inconvenience you faced. Could you please help us reproduce the problem? You are the first to report this, although we have seen some signs of this feature being used.

    • What is your inside toolchain (GCC, Clang, and which version)?
    • What is the size of your .map file on disk?
    • Could you please attach the .map file to this post if possible?
    • What is your host OS?

    Thank you!

    UStre.2Author
    Explorer
    October 23, 2025

    Hi,

    • What is your inside toolchain (GCC, Clang, and which version)?

             gcc is gcc 12.3.1. It's same toolchain as in STM32CubeIde 1.16

    • What is the size of your .map file on disk?

             Size is 48Mbyte. This same issue with smaller files beginning at ~10Mbyte

    • Could you please attach the .map file to this post if possible?

      No. I can't. This is company internal project.

    • What is your host OS?
      GNU/Linux -> Debian Bookworm or Trixie

    Regards
    Uwe