Skip to main content
Associate II
December 14, 2023
Solved

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

  • December 14, 2023
  • 12 replies
  • 8517 views

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

    Best answer by Rim LANDOLSI

    Hello @Gaurav_rajput ,

     

    The issue has already been reported to STM32CubeIDE development team. An internal ticket ID 168019(This is an internal tracking number and is not accessible or usable by customers) is submitted to escalate this issue internally to the STM32CubeIDE team .

     

    Thanks,

    Rim

    12 replies

    Rim LANDOLSI
    ST Employee
    December 14, 2023

    Hello @Gaurav_rajput  and welcome to the community,

     

    Could you indicate what type of variable the problem is detected with?

     

    Thanks,

    Rim

    Senior II
    February 20, 2024

    when will this be fixed? I see the same problem in 1.14.1

    Associate II
    December 16, 2023

    Sorry for the late reply,

    I used global variables which includes int, float (with and without volatile) but in debugging, live expression when I take only 1 variable it shows fine but once I take second variable it shows the value of first variable on second variable.

    Like that when I take multiple variables the value of all mixing with each other on the ide version 1.13.1 and 1.14.0.

    with ide version 1.6.0 and 1.7.1 it works perfectly.

    Rim LANDOLSI
    Rim LANDOLSIBest answer
    ST Employee
    December 19, 2023

    Hello @Gaurav_rajput ,

     

    The issue has already been reported to STM32CubeIDE development team. An internal ticket ID 168019(This is an internal tracking number and is not accessible or usable by customers) is submitted to escalate this issue internally to the STM32CubeIDE team .

     

    Thanks,

    Rim

    Visitor II
    March 11, 2024

    We have also same issue for a long time. When will it be fixed ?

    Associate
    September 24, 2024

    Hi, just encountered this issue. I was pulling my hair out trying to figure out why my variables hold the values they do but turns out it's not an issue with my code but with the Cube IDE itself. I think this should have been fixed by now, please increase the priority of the ticket!

    Associate II
    November 20, 2024

    I had the same problem.

    I just deleted CubeIDE and reinstalled it again. It Works good.

    Associate II
    November 20, 2024

    Nevermind. The porblem occured again after the next Debug.

    It works when you delete all Live Expressions and add them again after starting the debug and resume.

    Visitor II
    March 13, 2025

    +1 Please fix this issue.

    Best Regards.

    Associate
    March 29, 2025

    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

     

    Graduate II
    May 22, 2025

    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.

    Associate
    July 15, 2025

    When will this bug be fixed?

    jerry_my
    Visitor II
    August 3, 2025

    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...