How can I find (go to) the objective-c line in which the program crashes in the Xcode debugger? I don’t understand the assembler code of the program’s stop; in the log there is information about the inadmissible array reference index, but I’m looking for where it takes a long time. Maybe there is a simple civilized way?

  • in the log, the entire stackrack is usually displayed - Max Mikheyenko

1 answer 1

There are ways, of course. I suspect that not one. I use the following trick:

go to breakpoint navigator

go to breakpoint navigator

select add exception breakpoint

select add exception breakpoint

all options leave the default. run the application.

Here is the result of these manipulations:

Here is the result of these manipulations

  • Repax, thanks! This method makes debugging much easier. - Oleg