cancel
Showing results for 
Search instead for 
Did you mean: 

[1.14.0] Build Analyzer picking up wrong build

MikeAtETI
Associate III

In CubeIDE 1.14, I can build a project in debug configuration (verified by output like 14:55:15 **** Incremental Build of configuration Debug for project ThermaWiFiII **** and file system changes).

However, the build analyzer still continues to show me an old Release build.]

How do you "poke" it to look at the latest build?

6 REPLIES 6
Ghofrane GSOURI
ST Employee

Hello @MikeAtETI 

First let me thank you for posting.

1. Click on  " Your Project" .
2. Select "Clean Project  " from the dropdown menu:  This will delete all the build files and force the build system to rebuild the project from scratch.
3. After the cleaning process, build the project again in the debug configuration.
The build analyzer should now display the latest build information.

Thx

Ghofrane

Hi,

I've tried that and it reloaded the release configuration

 

 

11:07:22 **** Build of configuration Debug for project ThermaWiFiII ****

make -j16 all 

[...]

Finished building target: ThermaWiFiII.elf



arm-none-eabi-size ThermaWiFiII.elf 

arm-none-eabi-objdump -h -S ThermaWiFiII.elf > "ThermaWiFiII.list"

arm-none-eabi-objcopy -O ihex ThermaWiFiII.elf "ThermaWiFiII.hex"

 text data bss dec hex filename

 191936 22020 64592 278548 44014 ThermaWiFiII.elf

Finished building: default.size.stdout



Finished building: ThermaWiFiII.hex



Finished building: ThermaWiFiII.list





11:07:43 Build Finished. 0 errors, 10 warnings. (took 20s.669ms)

 

It then loads this
 
MikeAtETI_0-1710328181097.png

Looking at the times on the filesystem the release .map was updated on 12/4 at 2:20:41 and the debug .map updated as expected on 13/3 at 11:07

So I'm not sure why it is loading the release one when debug is the active configuration for the project, and its just been built clean.

 

Hello @MikeAtETI 

Actually the issue that you are facing ,it's not reproducible on my side , let's try to upgrade the STM32CubeIDE version to 1.14.1

GhofraneGSOURI_0-1710330924338.png

Thx

Ghofrane

I can confirm I've updated to 1.14.1 and it doesn't make any difference.

One thing that may be confusing it, is in the workspace we have two projects, one of which has 'debug' set as its active build configuration, and one has 'release'.

Hello Ghofrane,

I currently use the CubeIDE 1.14.1 and I experience the same issue of MikeAtETI: the Build Analyzer shows the build previously compile, not the last one.

Probably a bit late - but if you click on the project file in the tree on the LHS it seems to change the build analayser