cancel
Showing results for 
Search instead for 
Did you mean: 

live expression values gets corrupted while debugging with stm32cube ide version 1.14.0

Gaurav_rajput
Associate II

in debugging mode the values of variables gets corrupted when I check in live expressions. Here corrupted means shows wrong values.

28 REPLIES 28
klut532
Associate

+1 Please fix this issue.

Best Regards.

Please resolve and fix the live expression bug. It is a situation that negatively affects many developers around the world. It is a very bad situation for the company brand. Because of you, we spend hours finding bugs.

Makk
Associate

I have an Temporary Solution for that problem that i am using since last two year.

Step 1) Close the Tab of the Live Expressions.

Step 2) Right Click on Project >>  Select "Clean Project"

Step 3) Build and debug

Step 4) Select the "Live Expression" from the windows tab

 

 

As long as you do not edit the code, Live expressions will work fine but if you do edit the code then make sure to follow above procedure.

 

Thanks,

Mahek Yadav

 

Himzo
Associate II

Same issue with STM32CubeIDE v1.17.0 + STLink V3MODS + STM32H723.

And in a typical ST fashion, accepted solution just means that a ticket is open.

gari
Associate II

When will this bug be fixed?

jerry_my
Associate II

Dear ST,

I am having this issue since a year ago.. and now i am on version 1.18.1 and it is still the same. For very simple projects it is ok. But when i do SPI with DMA (LCD) then debugging became impossible.

Can you ST engineers fix this issue ASAP? There's a lot of AI today to help you guys. We don't mind your product is having some bugs, but at least take it seriously and fix it. This issue has been around for more than a year...

anonymous_stm
Associate II

Same problem in 1.18.1,
Tried cleaing the project, building and debugging agai but same live expression corruption,

What worked is restarting the cubeIDE but then the live expression only works fine untill the code remain the same, slight change and then need to restart the cubeIDE again.

observation: The problem might be when we use different types of variables in the live expression like floats, int and combination of array and structures the cubeIDE confuses the memory sizes and overlaps the data.

Please close the Live Expression tab first, then clean the project. After that, start debugging and open the Live Watch window once execution halts at Hal_init () / first instruction in main.

anonymous_stm
Associate II

the problem can be recreated by using multiple types of variables in live expression simultaneously like float, int32_t etc, and can be avoided by using same type like only floats or ints as observed by me.
If you see garbage values delete the odd or different type of variable from the list of live expression while debugging there is no need to stop.
but ST take care of this problem,