I have an iOS App that is doing things that don\'t quite make sense to me. I have several float variables defined in my interface that are being assigned incorrectly.
There are numerous reports that when inspecting ivars from LLDB they seem wrong (myself had the same problem many times). More specifically they seem to be shifted. That said, it only seems to be a bug in the implementation of XCode's inspector. If you want to be sure about the values you can either po _yourivar
in the debugger console, use GDB
or NSLog
them. There is also a similar question here: GDB Vs LLDB debuggers