Hi,
I have this array
static char keil[] = { "Keil is the bee's knees." }; // address eg 0x20000158
Knowing its adddress how to cast it into an array in 'Watch window' grammar so that I can see more then one item.
This
((char*)0x20000158)[4]
shows 4th item ie ' ' (space) which is expected in C notation. But I want to see an array with 4 elements, word "Keil".
Is there a tutorial for Watch window syntax ?
I use uVision V5.33
Variation to this question also here:
community.arm.com/.../how-to-watch-the-pointer-array-10-in-the-debug-watch-windows
Thanks
Hi there, I have moved your question to the Keil forum. Many thanks.
Thank you. Interesting. No idea where I posted it originally. I thought it is all under one 'umbrella'.