For debugging on iOS simulator, I used to be able to read out $eax register and get the error message. However, I don’t know if it’s the new XCode version 4.6 and iOS 6.1, I can’t do that any more.
(lldb) po $eax
error: Couldn't materialize struct: Couldn't read eax (materialize)
Errored out in Execute, couldn't PrepareToExecuteJITExpression
What now?
Also eax is not in the real device, what do I do?
According to this LLDB guide, you can use:
To examine the general purpose registers of the current thread