Hi everybody I would like to know if it is possible to force Keil to display a specific type for a data in debugging mode in the call Stack + Local?
I have a parameter type which is a struct but Keil display data as an unsigned char * instead of my struct (which is a typedef fix size array of char).
Thanks.
Have a nice Day
Aurelien
So why not change the function to take a pointer to a struct then?
If you really need to operate on the raw bytes of the struct, you can always typecast to an array inside the function.
You want all calls to keep as much type information as possible - else you both hurt your debugging and you hurt the compilers ability to catch errors in the code.