Skip to main content
Associate III
March 17, 2024
Solved

STM32CubeIDE build analyzer problem

  • March 17, 2024
  • 3 replies
  • 6973 views

Hi folks,

 

I use latest STM32CubeIDE on Linux and noticed that build analyzer always updates "Memory Regions" tab for previous build configuration (whatever it was Debug or Release).

No matter how many times I rebuild code in "Debug" configuration, the information is still provided for "Release".

As soon as I switch project setup to "Release", it would show results for "Debug" after next build.

 

Could anyone explain if Build Analyzer could do analysis of the last build instead of previous configuration? (or it's a bug in the tool)

 

Cheers,

Lex

 

 

 

This topic has been closed for replies.
Best answer by t.decker

You can switch to the wanted build configuration view of the analyzer by clicking on the .map / .elf file inside the Debug/Release folder in the Project Explorer file tree.

And new for me in CubeIDE 1.15 is the refresh button thing: https://community.st.com/t5/stm32cubeide-mcus/build-analyzer-does-not-work-after-stm32cubeide-update/m-p/652218

3 replies

AScha.3
Super User
March 17, 2024

Hi,

i only use "debug" , so i never seen this problem. (optimizer -O2 .)

Whats the difference (in your settings) between Debug or Release ?

If you feel a post has answered your question, please click on " Best Answer ".
TDK
March 17, 2024

It does appear buggy. I don't get the same exact behavior, but it doesn't seem to switch properly between configurations for me. Clearly a bug.

I have found that deleting the Release directory, then building the Debug configuration will get it to show Debug correctly again (and vice versa).

"If you feel a post has answered your question, please click ""Accept as Solution""."
t.deckerBest answer
Senior II
March 20, 2024

You can switch to the wanted build configuration view of the analyzer by clicking on the .map / .elf file inside the Debug/Release folder in the Project Explorer file tree.

And new for me in CubeIDE 1.15 is the refresh button thing: https://community.st.com/t5/stm32cubeide-mcus/build-analyzer-does-not-work-after-stm32cubeide-update/m-p/652218

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.