Xcode All Exceptions Breakpoint, ignore __unused exceptions

I have try-catch blocks when removing KVO watchers, like this

@try {

    [table_ removeObserver:self forKeyPath:@"contentOffset" context:nil];

} @catch (NSException __unused *exception) {}

In addition, I have a checkpoint "All exceptions", but I do not want it to stop when the exception __unused, like the previous one.

Is it possible? I read a few answers here , but in my opinion this is different.

Thanks.

+4
source share

Source: https://habr.com/ru/post/1524692/


All Articles