Why doesn't breakpoint at local init() trigger in my UIViewController?
Posted on 2011-09-18
I have an iPhone app up and running on a physical phone.
I have my own subclassed implementation of a UIViewController, with init() and viewDidLoad() overridden and declared like this:
When I set breakpoints at init() and viewDidLoad() and run the app, gdb breaks at viewDidLoad(), but not init(). init() appears not to be called at all. In fact, farther down in the execution, variables that are supposed to be assigned in init() are still unassigned.
Any thoughts? Explanations?