当前位置: 动力学知识库 > 问答 > 编程问答 >

iphone - App always terminates in main.m

问题描述:

Possible Duplicate:

Xcode 4.2 jumps to main.m every time after stopping simulator

Whatever a new crashing error I come across, it always seems to terminate in main.m. It will show the correct error, but highlight the this line in main.m

 return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

It's making things a bit hard to debug. Do I need to change some settings to get it to highlight the the correct bit of code?

网友答案:

"You can add an Exception Breakpoint by opening up the Breakpoint Navigator pane, and clicking on the X button in the bottom left corner"

from this more detailed instruction

分享给朋友:
您可能感兴趣的文章:
随机阅读: