O'Reilly logo

Mastering Xcode 4: Develop and Design by Joshua Nozzi

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

20. Using Instruments

Instruments is Apple’s front end (and a few more things as well) to DTrace, a dynamic tracing system that records debugging and performance information about a running program. If you’ve never used it before, Instruments will revolutionize the way you profile and debug your applications. Once you’ve let it spoil you, you’ll wonder how you ever managed to make it out of the dark ages of leaks, zombies, and performance sinks.

An Overview of DTrace

DTrace lets you trace your application as it runs. Tracing is logging information about a running computer program for debugging and performance analysis; it is used mainly by developers. Contrast this with “high-level logging,” which is used by end users and system administrators ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required