Hey everyone, sorry if this has been covered somewhere else. I'm having a few odd problems initializing objects after a resume. Failing to do this in the past has caused obvious errors - so onResume I check that everything I need is initialized and if not, reinitialize it.
There is at least one rogue object, that according to the code, SHOULD be initialized but is throwing an error when its child property(s) are referenced.
My question is: is there any easier way to replicate the conditions to produce this error? That is, instead of leaving the app open for hours (overnight) and hoping to catch the error, is there a way to manipulate the app or device to make make it unload some modules from my app and hopefully catch the error that way, without having to wait hours for each try?
Cheers all.
There is at least one rogue object, that according to the code, SHOULD be initialized but is throwing an error when its child property(s) are referenced.
My question is: is there any easier way to replicate the conditions to produce this error? That is, instead of leaving the app open for hours (overnight) and hoping to catch the error, is there a way to manipulate the app or device to make make it unload some modules from my app and hopefully catch the error that way, without having to wait hours for each try?
Cheers all.