Setting General Preferences

Use the General tab to configure basic Instruments preferences, including startup, keyboard shortcuts, and warnings options.

Open Instruments > Preferences, and click General.

../Art/instruments_prefs_general_2x.png

You can configure the following options:

Tracing behavior: Determines how trace documents record data.

  • Always use deferred mode: Performs data analysis for all traces after data collection is complete.

  • Automatically monitors for a spinning process while a trace is recorded. This can be a process other than the one being recorded. If detected, Instruments starts the Time Profiler instrument on the spinning process.

Startup preferences: Manages startup preferences.

  • Suppress template chooser: Hides the template chooser when Instruments starts up and when a new trace document is created.

Saving: Controls how many runs are saved and in what format.

  • Save current run only: Saves only the current data collection run for each individual instrument.

  • Compress run data: Compresses each saved run into zip format.

Default document location: Specifies the location where new Instruments documents are created. By default, this is a temporary directory. =

  • Click the button and select Choose in the pop-up menu. Navigate to your desired directory in the Choose Default Location of Trace Documents dialog. Click Open to choose your selected directory as the new save location.

  • Click the button and select Reset to restore the system default temporary directory.

Global Keyboard Shortcuts: Sets keyboard shortcut options. Click this button to open the Keyboard > Shortcuts > Services pane in the System Preferences app. From here, you can assign keyboard shortcuts to development services, such as a service that automatically opens an Xcode project in Instruments and profiles it with the System Trace template.

../Art/system_preferences_keyboard_shortcuts_services_2x.png../Art/system_preferences_keyboard_shortcuts_services_2x.png

Dialog Warnings: Reenables dialog warnings you previously elected not to show. Instruments has several warning dialogs that you can disable by selecting the “Do not show this message again” checkbox in the dialog. To reenable all of these warning dialogs, click the Reset “Don’t Ask Me” Warnings button.

Definitive Discussion