One, the debugger used by Xcode is GDB. GDB is part of the GNU project and can be used on many different platforms. If you want, you can run it from the command line. GDB has a complete documentation system, although its documentation is somewhat difficult to understand and several versions of the GDB tutorial are circulating on the web.
Second, multi-threaded programming is a way to process multiple execution streams at the same time, it is very difficult to apply it correctly. Often, the errors produced by multithreaded programming are very difficult to find. If someone tells you that multithreaded programming is easy, then they are either cheated or trying to sell you something.
Reference: "Objective-c Basic Course"
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
"Reading notes" Ios-xcode knowledge-multithreading