sometimes it's very usefull to have watches in HEX, for example if you want to debug serial communication (which I'm actually work on).
If I receive data like this:
0x10 0x11 0x12 0x13
and write this into a buffer of type unsigned char the display of the watch is like this:
aucBuffer="\020\021\022\023"
Can anyone explain this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you!
I made some additional tests and got the same result.
Ok these values are in OCTAL format.
Is it possible to change the display format to HEX with the built-in debugger?
The GDB offers the option '/xb' (byte) '/xw' (word) to change the display format to HEX. How can I use this with the built-in debugger (which is based on GDB)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
is anybody out there who can tell me how to display watches in HEX with the built-in debugger?
I'm not used to deal with OCTAL values.
Is it impossible or am I too dumb?
Should I rather try Insight?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
sometimes it's very usefull to have watches in HEX, for example if you want to debug serial communication (which I'm actually work on).
If I receive data like this:
0x10 0x11 0x12 0x13
and write this into a buffer of type unsigned char the display of the watch is like this:
aucBuffer="\020\021\022\023"
Can anyone explain this?
explain what?
those are octal character values
Adrian
Thank you!
I made some additional tests and got the same result.
Ok these values are in OCTAL format.
Is it possible to change the display format to HEX with the built-in debugger?
The GDB offers the option '/xb' (byte) '/xw' (word) to change the display format to HEX. How can I use this with the built-in debugger (which is based on GDB)?
Hello,
is anybody out there who can tell me how to display watches in HEX with the built-in debugger?
I'm not used to deal with OCTAL values.
Is it impossible or am I too dumb?
Should I rather try Insight?