Skip to main content
Associate
February 20, 2024
Question

STM32F103RET7

  • February 20, 2024
  • 3 replies
  • 1330 views

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.

    This topic has been closed for replies.

    3 replies

    Andrew Neil
    Super User
    February 20, 2024

    @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/ 

     

    A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
    mƎALLEm
    ST Technical Moderator
    February 20, 2024

    Hello,

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

    To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
    Associate
    February 28, 2024

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