Hi Sir,
I use MCUXPresso IDE v10.2.1 Build 795.
We find, when variable declared as none-32bits variable, something like uint8_t or uint16_t, then its content(value) will be not correct shown on "Variables watch" windows. But the value is correct on the memory view.
Please help to check it or any configuration I missed.
There is an example for you reference.
I declare three array variables with three different format,
uint8_t rand8[8] -- 8bit format.
uint16_t rand16[8] -- 16bits format.
uint32_t rand32[8] -- 32bits format.
And give them the same initial value ={0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08};
Then you will see that all the value are correct on "Memory" watch window.
But 8bit and 16bit format variables value are not correct on "Global Variables" or Variables" watch window.
Thanks.
David
If anyone run into this issue, deleting .launch file worked for me.
Hi David,
I'm not able to reproduce this, so it works fine for me:
Could you post more details, maybe the gdb trace log (see Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse )?
Thanks,
Erich
Hi David,
I email you directly to find out more details.
Erich