I would like to print a struct and then be able to copy/ paste the output into some of my code for setting up unit tests.
ie something like
typedef struct FOO{
int array[5];
const char * string;
char stringBuff[5];
} FOO;
FOO a = {.array = {1,2,3,4,5},
.string = "TEST",
.stringBuff = {"test"}
};
then in LLDB get something like
print a
FOO a = {.array = {1,2,3,4,5},
.string = "TEST",
.stringBuff = {"test"}
};