Ios 异常断点命中titleTextAttributes

Ios 异常断点命中titleTextAttributes,ios,objective-c,uinavigationbar,xcode7.3,Ios,Objective C,Uinavigationbar,Xcode7.3,打开异常断点时,每次运行项目时都会命中以下行: self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont fontWithName:@"AppleSDGothicNeo-Bold" size:20.0],NSForegroundColorAttributeName:[UIColor secondaryAppColor]}; 它没有崩溃,但在这条线上停了下来。我不得不继续

打开异常断点时,每次运行项目时都会命中以下行:

self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont fontWithName:@"AppleSDGothicNeo-Bold" size:20.0],NSForegroundColorAttributeName:[UIColor secondaryAppColor]};
它没有崩溃,但在这条线上停了下来。我不得不继续执行下去。我在
viewDidLoad
中调用此函数

编辑:我删除了所有断点,只留下异常断点。xcode仍然在同一行停止


为什么会发生这种情况?

在Xcode中点击Cmd+7,查看是否在某处设置了断点。您只需选择并点击delete键delete all breakpoints and clean即可删除这些断点。否则,调试并查看此时的堆栈跟踪,您可以看到某个特定线程是否正在执行某些奇怪的操作。是否要我在删除所有断点后添加异常断点@simpleBob@lublis@TejaNandamuri做你的
断点导航器
(查看/导航器/显示断点导航器,以防万一您有不同的组合键)显示“无断点”?您可以尝试将断点从All更改为Objective-C。