2017-08-02 67 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

希望這有助於!