Maybe a better title for this post would be “Eclipse Debugging with Strings Attached’? Digging a bit more into the domain of string debugging, things are not always the way I wish they are.
I’m using here CodeWarrior for MCU10.2, which is based on Eclipse 3.6. Let’s use the following piece of code with the ARM Cortex-M4 Kinetis K60 core and the Freescale ARM compiler:
char buf[] = "abcd"; char *p = &buf[0]; unsigned char ubuf[]="ABCD"; unsigned char *up = &ubuf[0]; signed char sbuf[]="1234"; signed char *sp = &sbuf[0];

