View previous topic :: View next topic |
Author |
Message |
Guest
|
CCS debugger How to view values in HEX |
Posted: Sat Jul 10, 2004 9:53 am |
|
|
Using the CCS debugger , at a break point the current value for a variable is displayed in a balloon at the mouse cursor.
Is there a way to make it display HEX as in 0X00 or decimal,
At the moment it tries to display the printable character ! and that's almost useless for non ascii values.
The same goes for the WATCH items.
Settings :
Mouse over eval : true
Mouse over Radix : Hexadecimal
Timeout Mouse over : false // note: it still times out
perhaps there is a bug... |
|
![](templates/subSilver/images/spacer.gif) |
Haplo
Joined: 06 Sep 2003 Posts: 659 Location: Sydney, Australia
|
|
Posted: Sun Jul 11, 2004 5:06 pm |
|
|
In the watch window, add a ',h' to the variable to see it in HEX (and a ',b' to see in binary, ',c' to see it as a character, ',d' for decimal). For example if you want to watch the variable myVar, add this expression to the watch window:
myVar,h |
|
![](templates/subSilver/images/spacer.gif) |
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
|
|
Posted: Mon Jul 12, 2004 10:15 am |
|
|
I've tryed the same thing,.. Radix=hex
And I think it IS a bug.
![Sad](images/smiles/icon_sad.gif) |
|
![](templates/subSilver/images/spacer.gif) |
dyeatman
Joined: 06 Sep 2003 Posts: 1924 Location: Norman, OK
|
|
Posted: Mon Jul 12, 2004 11:55 am |
|
|
What version of the debugger are you using? |
|
![](templates/subSilver/images/spacer.gif) |
|