1

If I delete Exception BreakPoint ,all will be ok. But When I add Exception breakPoint to debug ,something wrong:

  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 and run, project always break at [self.window makeKeyAndVisible] ,click "continue programe execution" button some times,it can be run

koky
  • 23
  • 3

1 Answers1

6

Edit Exception breakpoint like this-

enter image description here

And select Objective C like this-

enter image description here

Hope this helps!

Abhishek Jain
  • 4,557
  • 2
  • 32
  • 31