Hour 21. Advanced: Analyzing Code with Instruments

What You’ll Learn in This Hour:

How to use the Instruments feature to trace the operations of your program

How to repeatedly automate user interface actions with instruments

The Instruments application is Apple’s Xcode-like interface to a collection of tools that enable you to observe the status of a process, or of numerous processes on a running system. They also provide reports about things such as open files, memory usage, network usage, or user interface events.

Instruments operate primarily by observing method invocations and messages within the system at a very deep level, mostly via a command-line tool (although this is hidden when using the Instruments interface) called dtrace. ...

Get Sams Teach Yourself Xcode® 4 in 24 Hours now with O’Reilly online learning.

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