在相应位置加断点不打印相应日志,可以用下面这几行代码打印异常日志 @try{ //相关异常代码 } @catch(NSException *exception) { NSLog(@"exception:%@", exception); } @finally { }