I used to get exception details from apps running in the simulator like so:
po $eax
Ever since I upgraded to XCode 4.6 it's stopped working; I always get this error:
error: warning: couldn't get object pointer (substituting NULL):
Couldn't find '_cmd' with appropriate type in scope
Couldn't materialize struct: Couldn't read eax (materialize)
Errored out in Execute, couldn't PrepareToExecuteJITExpression
I've seen people recommend using this:
register read eax
But that gives me this error:
eax = error: unavailable
How do I get exception details in XCode 4.6?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…