Skip to main content
MTora.1
Associate III
October 15, 2023
Question

CubeIDE live expression Bug Report

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

    This topic has been closed for replies.

    5 replies

    TDK
    October 15, 2023

    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
    October 18, 2023

    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
    MTora.1Author
    Associate III
    October 28, 2023

    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
    Super User
    October 28, 2023

    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 on " Best Answer ".
    Associate
    February 6, 2024

    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!