开发者

App Breaking in main.m - suspected retaining issue?

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?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜