Guides and Sample Code

Developer

Instruments User Guide

On This Page

Navigate the Detail Pane

After you identify a potential problem area in the timeline pane, use the detail pane to examine the data in that area (see Figure 12-1). The detail pane displays the data associated with the current trace run for the selected instrument. Instruments displays only one instrument at a time in the detail pane, so you must select different instruments to see different sets of details.

Figure 12-1Viewing detail data for an instrument image: ../Art/instruments_detail_pane_info_2x.png
To open or close the detail pane

Do one of the following:

  • Choose View > Detail.

    image: ../Art/instruments_view_menu_detail_menu_2x.png
  • Click the Detail View button (image: ../Art/instruments_detail_pane_toolbar_icon_2x.png) at the right end of the toolbar.

To view data in the detail pane for a specific instrument
  1. Click the instrument in the strategy pane.

    image: ../Art/instruments_trace_document_strategy_pane_selectedinstrument_2x.png

View Different Types of Data in the Detail Pane

For some instruments, you can display data in more than one format. For example, the Activity Monitor instrument allows you to view a summary of data, parent child information, and a list of samples.

To switch between detail types
  1. Choose the appropriate mode from the detail type list in the navigation bar of the detail pane.

    image: ../Art/instruments_detail_pane_detailtypelist_2x.png

    Which modes an instrument supports depends on the type of data gathered by that instrument.

For some detail types, like the Allocations instrument’s call tree mode, you can use disclosure triangles (see Figure 12-2) in certain detail pane rows to dive further down into the corresponding hierarchy. Clicking a disclosure triangle expands or closes just the given row.

Figure 12-2Navigating profiling data in the detail pane image: ../Art/instruments_detail_pane_calltreeexpanded_2x.png

Sort in the Detail Pane

To sort the information displayed in the detail pane according to the data in a particular column, click the appropriate column header (see Figure 12-3). The columns in the detail pane differ with each instrument.

Figure 12-3Sorting profiling data in the detail pane image: ../Art/instruments_detail_pane_sorting_2x.png

Use the Extended Detail Pane

For some instruments, the extended detail area in the inspector pane shows additional information about the item currently selected in the detail pane. This extended detail information can include a description of the probe or event that was recorded, a stack trace, and the time when the information was recorded, as well as other information.

To open or close the extended detail area of the inspector

Do one of the following:

  • Choose View > Inspectors > Show Extended Detail or Hide Extended Detail (or press Command-3).

    image: ../Art/instruments_view_menu_inspectors_menu_showextendeddetail_menu_2x.png
  • Click the Extended Detail button (image: ../Art/instruments_extendeddetail_button_inline_2x.png) in the navigation bar at the top of the inspector pane.

    image: ../Art/instruments_inspector_pane_navigation_bar_2x.png

You can hide system calls in a stack trace by clicking the Collapse button image: ../Art/inline_hidesystemcalls_button_2x.png at the top of the stack trace area in the extended detail area of the inspector, as shown in Figure 12-4.

Figure 12-4Hiding system calls in the extended detail area of the inspector pane image: ../Art/instruments_extendeddetail_pane_hiddensystemcalls_2x.png