Appendix A. Tools for Troubleshooting Your Applications

In this book, I have covered various topics related to building data-centric iPhone and iPad applications. Because most readers are already familiar with iOS software development, this book does not include in-depth coverage of the tools that experienced developers may already know about such as Instruments and the Static Analyzer.

This appendix covers these tools, which can be invaluable when troubleshooting your applications. The techniques that you learn in this appendix are general. You should be able to use these techniques as-is with the current version of Instruments, and apply the same principles to future versions of the tool. If you already know about these tools, perhaps you will learn a new tip or trick. If you have never used these tools, you will learn how to use them to effectively track down problems in your code.

INSTRUMENTS

Instruments is a graphical tool that helps you to gather information about your application at runtime. You can then use this information to help track down difficult bugs such as memory leaks. Instruments is also valuable in profiling the performance of your application and helping you to track down and fix bottlenecks. Many different tools are available in the Instruments application to help you to troubleshoot a variety of application problems.

The Instruments application consists of a set of instruments that you use to collect data about your application as it runs. You can see all of the ...

Get Professional iPhone® and iPad™ Database Application Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.