views:

43

answers:

1

Hello, my app appears to be breaking in main.m on a line with contents:

int retVal = UIApplicationMain(argc, argv, nil, nil);

What does that line do, and why could it cause a breakpoint to fail?

Is this a memory issue?

A: 

That's not a function as you know it, it never actually returns - see UIKit Function Reference. Chances are very good you do have a memory issue if all the debugger shows you is a problem there, or else the app is trying to load a bad nib?

Have you tried building with the analyzer (in Snow Leopard only, shift-command-A kicks it off). Chances are it will show you something of concern

Adam Eberbach