CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCS debugger How to view values in HEX

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
Guest








CCS debugger How to view values in HEX
PostPosted: Sat Jul 10, 2004 9:53 am     Reply with quote

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...
Haplo



Joined: 06 Sep 2003
Posts: 659
Location: Sydney, Australia

View user's profile Send private message

PostPosted: Sun Jul 11, 2004 5:06 pm     Reply with quote

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
treitmey



Joined: 23 Jan 2004
Posts: 1094
Location: Appleton,WI USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Jul 12, 2004 10:15 am     Reply with quote

I've tryed the same thing,.. Radix=hex

And I think it IS a bug.
Sad
dyeatman



Joined: 06 Sep 2003
Posts: 1912
Location: Norman, OK

View user's profile Send private message

PostPosted: Mon Jul 12, 2004 11:55 am     Reply with quote

What version of the debugger are you using?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group