2017-08-02 68 views
1

如果我删除Exception BreakPoint,一切都会好的。但是当我添加异常断点调试,一些错误:异常断点在[self.window makeKeyAndVisible]

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 
    self.window.backgroundColor = [UIColor whiteColor]; 
    self.tabBarController = [[ALTabBarController alloc] init]; 
    self.window.rootViewController = self.tabBarController; 
    [self.window makeKeyAndVisible]; 

breakpoint like this 和运行,项目始终处于[self.window makeKeyAndVisible]打破,单击“继续执行PROGRAME”按钮有时,它可以运行

+0

self.tabBarController可以为空吗? – jestro

+0

它抛出了什么异常? –

+0

当没有breakPoint时,项目可以运行成功 – koky

回答

5

编辑例外断点一样喜欢这 -

这个 -

enter image description here

并选择目标C

enter image description here

希望这有助于!