Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / February 2004



Tip: Looking for answers? Try searching our database.

CW Pro 9.1 debugger displaying UInt64s as negative numbers

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Larry - 27 Feb 2004 16:52 GMT
I'm having a problem with CW displaying UInt64s as negative numbers in
the debugger. The problem appears to be somewhat random. For example,
last night I did some testing with the following:

UInt64    test = 0x5FFFFFFFFFFFFFFF;

What I saw was that the debugger displayed positive values when the
first digit was 4 or lower, and negative when it was 5 or higher.
Running the same test today, I see positive values when the first
digit is 7 or lower, and negative when it is 8 or higher Any ideas?
Thanks,

Larry
Frederick Cheung - 27 Feb 2004 18:54 GMT
> I'm having a problem with CW displaying UInt64s as negative numbers in
> the debugger. The problem appears to be somewhat random. For example,
> last night I did some testing with the following:
>
> UInt64    test = 0x5FFFFFFFFFFFFFFF;

I see the same thing, but if I ask to view the value as an unsigned
integer it displays ok. For some reason by default it is viewed as signed.

Fred

> What I saw was that the debugger displayed positive values when the
> first digit was 4 or lower, and negative when it was 5 or higher.
[quoted text clipped - 3 lines]
>
> Larry
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.