cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103RET7

NIJASPALAKKAL
Associate II

While testing the code, checked the local and global variables in live expression but it showed " failed to evaluate". and the variables are not refreshing continuously. but if I put a breakpoint it shows the values.

3 REPLIES 3
Andrew Neil
Evangelist III

@NIJASPALAKKAL wrote:

 the code, 


What code?

You need to show the code that you're talking about!

Please use this button to properly post source code:

AndrewNeil_0-1708429539649.png

 

Screenshots of what you're doing & seeing in the debugger would also help.

https://www.techrepublic.com/article/how-to-take-screenshots-in-windows-10/ 

 

SofLit
ST Employee

Hello,

Which Toolchain? what code? issue with global and local variables?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
NIJASPALAKKAL
Associate II

For any sample code that is developed in STM32CUBE IDE, I used ADC, and SPI in my project. while fetching the ADC values I was able to display it over live expression. but if I put breakpoints the values are coming else it will be reading like " error to read the values".