2019-07-25 04:23 AM
Hi,
I have noticed a little problem in the "Live Expressions" function.
The first time I open STM32CubeIDE and debug my firmware, I can see the value of all expressions previously written by me.
When I stop the debug and debug again, some expressions does'nt show the value. Instead this appears the message " Failed to evaluate expression".
The curious is that if I "rename" the expression the correct value appears again. For example, adding a space (or removing a space) at end of a expression with the message " Failed to evaluate expression" solve the problem.
This are happenning with anyone more?
This is a real bug?! How this problem can be solved?
Best regards,
DIego Volpini
2023-10-26 11:17 PM
I am facing the same problem. This is the only solution that works for now.
2024-05-21 12:46 AM
Yeah, this problem still alive. I have this and don't know how to solve.
2024-05-21 01:43 AM
The work-around is mentioned somewhere in this post. I will repeat here:
You must create a dummy global variable in your project and add it to the "Live Expressions". When you see junk values in some/all the variables, then write some value ( say 0 or 1 ) to your dummy variable. I have noticed that the values of all variables now Sync up and display the correct values in the "Live Expressions".
2024-07-28 11:15 AM
2024 now. I can't believe it the problem is still NOT solved! I'm having the same problem!!!!