cancel
Showing results for 
Search instead for 
Did you mean: 

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

UStre.2
Associate II

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

2 REPLIES 2
vincent_grenet
ST Employee

@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!

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.

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