xcode 14.1 displays all characters from fixed char[256] array.

char str[256] = {}; strcpy(buffer, "unknown");

Shows up in the debuggre as unknown\0\0\0\0\0\0\0\0\0\0\0....

This holds a simple 7 character string, but Xcode insists on displaying all 256 characters even past the \0. That's the "Default" setting. "Show as c-string" doesn't help either, but should only display up to the end of the string.

Can this go back to the way it was before?

xcode 14.1 displays all characters from fixed char[256] array.
 
 
Q