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.

How to keep updating the value of the local area variable (array) in the expressions window

How to keep updating the value of "area variable (array matrix)" in the expressions window

In the following code, the value of the matrix (array) is an area variable in main

So when debugging, CCS will display...identifier not found: rxMsgData


There is no way to see the current value. It will only be updated when a breakpoint is set... This design is a big problem

It is impossible for me to watch the value of this array all the time under the breakpoint...Of course it is to keep the system running, isn't it?

But the variable can be updated all the time if it is placed in the global variable, but in fact it is impossible to do this in coding...

I don't have this problem with other IDEs...Why is CCS designed like this?? Or are there other options that can be ticked??

Otherwise, msgCount is a simple variable, even if it is a regional variable, it can still be updated...but arrays cannot. Is there such an IDE??

The normal IDE should be able to update whether it is a region or a global domain, right??

void main(void)
{
   
    // Setup send and receive buffers
    txMsgData[0] = 0x01;
    txMsgData[1] = 0x02;

    MsgData[0] = 0x01;

.....
  for(;;)
    {
    //keep count ++
       txMsgData[0] += 0x01;
        txMsgData[1] += 0x01;
        MsgData[0] += 0x01;
   }
}