在ios开发的时候,会遇到这样的bug,
libc++abi.dylib: terminate_handler unexpectedly threw an exception
知道在哪一行报出的错误,但是,具体错误的原因无法得知,此时,我们可以加上try catch来捕获具体的错误信息:
@try{
}
@catch(NSException *exception) {
NSLog(@"exception:%@", exception);
}
@finally {
}
在ios开发的时候,会遇到这样的bug,
libc++abi.dylib: terminate_handler unexpectedly threw an exception
知道在哪一行报出的错误,但是,具体错误的原因无法得知,此时,我们可以加上try catch来捕获具体的错误信息:
@try{
}
@catch(NSException *exception) {
NSLog(@"exception:%@", exception);
}
@finally {
}