-
Print statements
-
Break Points
It is one of the most basic tools for debugging the issues.Using CustomStringConvertible and CustomDebugStringConvertible to print objects or structs.print and DebugPrint along with using po in the debugger.
Xcode's debugging capabilities through breakpoints and some lldb commands.