debugging - "self" not available in debugger on iOS 5.1 -
i'm trying debug problem running under ios 5.1 , when stop in debugger inside code gets error , try print debugger message:
error: warning: stopped in context claiming capture objective-c object pointer, 'self' isn't available; pretending in generic context
excuse me? know i've done myself here?
the code way complicated want -- i'm hoping can tell me debugger message means.
this used fail intermittently fails mostly. operation (or maybe always) works first time try in ios 5.1, after first time, , apparently works in ios 6.
if helps know general context ... i'm trying add just-written object alassetsgroup in completion block on non-ui thread. have sensible-looking stack backtrace completion block. failure because stored alassetsgroup no longer has meaningful value -- or says nslog of knows alassetsgroup object. value assigned in 1 place (and logged track that) , can see initial assignment key-value observing , don't see ever being changed in kvo-sorta way.
in build settings, setting precompile prefix header
no
fixed me.
Comments
Post a Comment