CBueche
asked on
Why doesn't breakpoint at local init() trigger in my UIViewController?
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:
- (id)init;
- (void)viewDidLoad;
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?
- Thanks
I have my own subclassed implementation of a UIViewController, with init() and viewDidLoad() overridden and declared like this:
- (id)init;
- (void)viewDidLoad;
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?
- Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!