Re: Break on assert


Alex Zavatone
 

If it’s in Objective-C, add a symbolic breakpoint and then this.

-[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:]

You could also add a symbolic breakpoint for the condition of “On Throw”.

So, it would trigger when an exception is thrown.

Alex Zavatone


On Oct 31, 2020, at 3:59 PM, Carl Hoefs <newslists@...> wrote:

Break on assertions'

Join xcode@apple-dev.groups.io to automatically receive all group messages.