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.

Register variables in CCS 4.2.3



 

Hello!

I have installed CCS 4.2.3 for 30-day evaluation period and noticed that now I can see values and addresses (like "AL, AH" etc.) of register variables and function parameters in Watch or Local windows. In older versions I saw only "identifier not found". Is it a new feature in 4.2.3 version or just something in configuration?

 

  • Oleg,

    In general, the Watch window can display local variables that are in scope at the point where program is being executed, so you would need to be within the routine using those local variables to be able to view them.  Other factors that might affect viewing them could be compiler options used in the project. For instance, the full symbolic debug option (-g) is required, and if optimization is also turned on that could lose some of the debug capabilities. These are some common situations where variables may not be visible in watch view.

    Other than that, it is possible that CCS 4.2.3 may have fixed some specific bugs related to watch view compared to older versions, which is also a reason why we generally recommend users to update to the latest versions.