Information Technology Reference
In-Depth Information
CAUTION
Scripts can be unpredictable, and features may not work as expected. It's a good idea to review the many online
examples of scripting created by other developers before you begin creating your own. At the time of writing,
scripting remains somewhat buggy.
Summary
This chapter introduced Instruments and explained how they can be used to aid debugging, testing, and per-
formance profiling. It began by demonstrating how to launch Instruments when profiling a simple test app, and
it outlined the key UI features.
Next, it delved in some detail into the Allocations and Leaks instruments, explored how to use them to monitor
and debug memory problems in an active application, and explained how to look for lines of code that might be
causing memory issues.
It introduced the Zombies template, explained how it was related to the Allocations instrument, and showed
how to manage instrument settings and display options.
It demonstrated how to create and use custom templates for your own projects and touched briefly on creating
custom instruments for advanced low-level monitoring and debugging.
Search WWH ::




Custom Search