cancel
Showing results for 
Search instead for 
Did you mean: 

CubeIDE live expression Bug Report

MTora.1
Associate III

Hi dears

I saw a bug in live expressions. So I attached some images.

image.png

 

MTora1_0-1697387264481.pngMTora1_1-1697387288661.png

As you see data's location in Arrey shifted. the correct value is the left one.

 

Thank you

5 REPLIES 5
TDK
Guru

Live expressions have always been iffy. Count yourself lucky if they work at all. That's been my experience at least, for as long as they've been introduced. I suspect there are interactions between Eclipse and the debugger which aren't quite ironed out yet.

If you feel a post has answered your question, please click "Accept as Solution".
Rim LANDOLSI
ST Employee

Hello @MTora.1 and welcome to the community,

Could you, please, provide how did you defined and used the array variable. In fact, the issue is not reproduced from my side and  data's location in the Array is the same in Live Expression and Expression view ,as shown in the following screenshots:

RimLANDOLSI_0-1697618359782.png   

RimLANDOLSI_1-1697618410102.png

Thanks,

Rim

MTora.1
Associate III

Hi Rim

I don't see a similar problem at all times. and it makes the problem worse.
I send its feedback when I face it again.

 

AScha.3
Chief II

did you modify the source , since you set the variable in live expressions?

i found, also memory view takes (and "remembers") the address in memory, when it was set .

delete it and make it new - is it still wrong?  THEN its a bug. 

If you feel a post has answered your question, please click "Accept as Solution".
facotti1
Associate II

Seen same behaviour with STM32CubeIde 1.14.1...

In particular:

- results (right column) are shifted in position respect to variables names (left column);

- adding a probabily-shown-wrong variable twice shows two different results.

This is very frustrating, since you cannot really trust what you see in Live Expressions.

Thanks!