Re: Break on assert


Carl Hoefs
 

I've tried all the incantations I can think of, including those you suggest along with -[NSException raise]. (This is an iOS app, if it matters any...)

-Carl

On Oct 31, 2020, at 2:08 PM, Steve Mills via groups.io <sjmills@...> wrote:

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

How can I break in Xcode on this assert? Breaking on 'all exceptions' and 'runtime exceptions' doesn't catch it. There's no 'Break on assertions' option...

[Assert] Cannot be called with asCopy = NO on non-main thread.

Try adding a symbolic breakpoint on NSAssert, Assert, or whatever else you think might be the actual symbol name.

Steve via iPad


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