I'm getting the following runtime error and I cannot determine for the life of me WHYYYY. The error is Thread 1: EXC_BREAKPOINT (code=EXC_1386_BPT, subcode=0x0)
which seems to happen whenever I execute the dismissModalViewController:animated
or the pushViewController:animated
method from any of my VC's.
I have enabled zombie objects and that shows me the following message in the debugger, 2012-06-14 16:34:58.769 MyApp[5952:17903] *** -[MyDetailsVC respondsToSelector:]: message sent to deallocated instance 0x8c3d400
.
This ONLY happens after I access the MyDetailsVC ViewController. The scenario is as follows.
- start the app, everything works perfectly, I can push to and pop from view controllers and present and dismiss modal VC's without any issues.
- I push to the MyDetailsVC, do nothing on it, then tap the back button.
- I'm now back to where I was before pushing to the MyDetailsVC, the app continues to work perfectly until I reach a point where I have to push to a VC or present a modal VC. I then get the runtime error.
The MyDetailsVC is not even in the picture nor does it have anything to do with the other VC's when I encounter the error.
How can I get more granular with the debugger in order to determine what this issue is?
Also, the error message says the words "message sent", so I've pretty much commented all of my NSNotifications in my VC's to rule out the chance that one of my VC's is trying to send a message to a VC that is no longer alive... no luck!
PS - I'm using Xcode 4.3.1, 5.1 w/ ARC