Advanced debugging tools

With these basic practices under your belt, you're in a good position to deal with most of the issues that will come your way on a normal day. But sometimes, you have to deal with bugs that are anything but normal. In this section, we'll cover two advanced features in Xcode 8 that allow you to find some hidden bugs.

Don't think of these as the only advanced techniques you need to know, but as the beginning of a long education in how to deal with unruly code.

Address Sanitizer

The Address Sanitizer was one of the best new debugging features added to Xcode 7. If you're new to programming, you might not have had enough coding experiences to truly feel the pain that the Address Sanitizer solves.

With Swift, the language is designed ...

Get Learning Xcode 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.