Re: Xcode/gdb type confusion for floats
Re: Xcode/gdb type confusion for floats
- Subject: Re: Xcode/gdb type confusion for floats
- From: "Jens Ayton" <email@hidden>
- Date: Tue, 22 May 2007 15:02:41 +0200
Kai-Mikael Jää-Aro:
I spent some time vainly debugging a piece of Objective-C code where
the variables apparently were getting random values, until I realised
the problem lay in the debugger.
To be precise, what happens is that all local variables in my method
that have the type float display incorrect values in the variable
view. When I changed the variables' types to double, they displayed
the correct values.
This could potentially be caused by debugging an optimized executable.
--
Jens Ayton
Sed quis custodiet ipsos custodes?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden