Unrecognized statement in iOS

In my iOS application, I see in the Xcode console window when I launch the following message on iOS 9.2 Simulator:

(assertion failed: 15C50 13C75: assertiond + 13207 [792516D1-991E-36EE-8454-16F8220758D6]: 0x1)

This is not a big problem, but since it prevents the debug messages from reading correctly, I tried to figure out which code chose this statement.

What I have tried so far:

Set a breakpoint NSAssertionHandler.

  • Go to the Xcode 7 breakpoint navigator.
  • Press the + button and select "Add Symbolic Breakpoint"
  • Set character: to "- [NSAssertionHandler handleFailureInMethod: object: file: lineNumber: description:]"
  • Click Finish

But it did not stop in any place, and it prints a message.

Set a breakpoint for any exception.

  • Go to the breakpoint navigator.
  • + " "
  • : "Objective-C"
  • : "On Throw"
  • ""

.

NSAssert assert

, ?

,

[self.tableView reloadRowsAtIndexPaths:reloadPaths 
                      withRowAnimation:UITableViewRowAnimationAutomatic];
+4

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


All Articles