This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/CCSTUDIO-SITARA: Error in Variables View in Debug Perspective

Part Number: CCSTUDIO-SITARA

Tool/software: Code Composer Studio

Hi, there. Sorry for my bad English. When I Debug my app in Variables View for variables of float type I get in column type - 'unknown' and in value column red text - 'invalid register index 80' may be 82 or 84, in common words, some number. What should I do to get proper meanings in this columns for float type variables?

  • Hi George,
    More details will be needed before we can investigate. Please see the below link:
    software-dl.ti.com/.../ccs_support.html

    Specifically please provide the full CCS version number, exact device being used, and a reproducible test case or at least a small source example.

    Thanks
    ki
  • The problem was solved. At the optimization level -Og compiler optimizes the float data type in such a way that CCS cannot work with it. At the optimization level-O0 everything is fine. Maybe I should send a ticket to the developers?

  • Good to hear you found the cause of the issue and resolved it.

    It is expected that as you turn up optimization, your debug visibility gets negatively impacted. It is not a bug, but expected behavior:
    dev.ti.com/.../

    Thanks
    ki
  • Ki-Soo Lee said:
    Good to hear you found the cause of the issue and resolved it.

    It is expected that as you turn up optimization, your debug visibility gets negatively impacted. It is not a bug, but expected behavior:
    dev.ti.com/.../

    Thanks
    ki

    Agree with me that it's not good when the 'wizard' helps me in setting up the application, set otimization level, by default, on -Og... I lost couple of hours to find, why I can't see variable. In addition, when I tried to view 'double' type variables, CCS just crushed without any promt.