I use BreakOnExceptions to avoid the debugger stop each time we call a delegate created with weakAdressof. This way we avoid execution breaks every time there if the target object went away and delegate’s weak ref got nil.
But it seem like the BreakOnExceptions option is also applied to the code called by the delegate if it works.
So big parts of our code do not break on exception.
If I remember correctly BreakOnExceptions is scoped so exceptions will be suppressed in methods called inside of a false and true. I believe what you need to to is add
I want to catch the exception in the method called via delegate, but I don’t want to stop in debugger due to an invalidated weak address in a delegate.