I have some set-up code in viewDidLoad
that is successfully being called. The only problem is that whenever I place a NSLog(@"random")
or a breakpoint in viewDidLoad
, nothing is logged and execution never halts. Here's what I have tried so far to fix it:
- Restart Xcode
- Restart my computer
- Delete the app from my iPhone and rebuild
- Clean
- Verify my build configuration is "Debug"
- Done everything mentioned here
- Tried placing a breakpoint in
applicationDidFinishLaunching:
and that isn't called either. - Verified that there is no
#define NSLog()
If this is relevant at all, this file is Objective-C++. However, breakpoints and logging were working earlier, so I doubt that's the issue.