About Trace Templates

Use trace templates to quickly populate a trace document in the Instruments analysis tool with a predetermined set of individual instruments. The trace template selection dialog automatically opens when you open the Instruments tool. You can also bring up the template selection dialog by choosing File > New when running Instruments.

The trace template selection dialog consists of three main areas:

  1. Type of desired template. Templates are organized by the operating system being used and the type of data that is to be collected. You can choose from a category on the left, for example iOS, iOS Simulator, OS X, and User trace templates.

  2. Collection of trace templates. This section contains templates based on the operating system and the type of data to be collected that you selected.

  3. Trace template description. A short description of the trace template. Use this to determine if the chosen template is the correct template for your needs.

The figure shows the trace template selection dialog with the UI Recorder template chosen.

../Art/Trace_Template_Landing.png

Use a trace template as a starting point to collect data for a particular purpose. You can then add or remove individual instruments from the trace document. After choosing the template to load, click Choose to open the trace document and populate the document with the template’s instruments.

Definitive Discussion