2025-03-09 5:36 PM
Hello,
Is there a trick to get the Build Analyzer to produce data every time the code is compiled? It seems like the only way I can get it to update the window is if I change something in the linker script file and recompile again. Is there an easier way or a setting that needs to be set?
thanks
Matthew
Solved! Go to Solution.
2025-03-10 6:40 AM
It's my experience as well, it was working fine up until CubeIDE 1.14, and has been broken since 1.16 (I did not used 1.15, so I don't know about this release).
I don't know if it's an Eclipse issue, or the ST added layer on top of it.
2025-03-11 12:48 AM
Hello @matt-crc ,
Further to your reply,
Build Views Refresh Mode: Auto
First Build: 8:29:35
Second Build: 8:40:34
Build Views Refresh Mode: ON request
First Build: 8:44:34
Second Build: 8:46:34
Thanks.
Mahmoud
2025-03-11 3:41 AM
2025-03-11 6:10 AM
I sent Mahmoud a video yesterday with the same results (even after deleting the debug directory from the project as he suggested). I guess ST has no intention of fixing this issue that I and other users have reported.
2025-03-11 6:18 AM
Oops, I take that back... Mahmoud sent me a private email showing me the trick on how to get it to work each and every time... I've tested it 10 times now, and it seems to work for me. Not sure why this trick is not public, so I will post the solution here...
after the user builds the project, you must right click on the project name, and select refresh. Then the update for the building analyzer works. Give it a try and let me know if it works for you too.
2025-03-11 6:44 AM - edited 2025-03-11 6:45 AM
same here.
It used to work around 1.14/1.15 and then it broke down
2025-03-11 7:00 AM
@matt-crcThank you for the tip.
Do you mean that you have to refresh the project after every (re)build for the build analyzer to work ? Or just once per session ?
2025-03-11 7:03 AM
I have to refresh the project whenever the build analyzer stops working (seems to be every time after the first build)... But it's a better solution than restarting the IDE... lol
2025-04-23 6:38 AM
Hi
I have found you have to select the .map file in the Project Explorer window (Either Debug or Release but depends on your current build configuration). Then click on the Refresh icon and you'll find it will update almost immediately. You don't have to open the .map file, just have it selected before you then move the mouse over to click on the Refresh button.
I don't think the 'Auto' option in Preferences has ever worked so always set it to 'On request'
2025-04-27 1:52 PM
I have v1.18.1 with Auto on. What seems to work for me is:
1. Build.
2. Right click on project name. The Build Analyzer window goes blank.
3. Select Refresh.
4. Click back in a code window. Analyzer window updates.