In the following code, I am able to check with the debugger the values of self and childView.
[self.navigationController pushViewController:childView animated:YES];

However, I am not able to see the value of self.navigationController. How can I check if it is nil?
Just add the line:
And then set a breakpoint, or whatever else you want to do.