Accessing Source Code from Instruments

Locate code you have written by its stack trace symbol. There are many tools within the Instruments analysis tool that help you focus on a particular symbol.

bullet
To access an app’s source code from Instruments
  1. Find the icon for your code in the Detail or Extended Detail pane.

  2. Double-click the icon to display your source code where that symbol is used.

    ../Art/For Symbol -> Xcode 1.png
  3. Click the Xcode icon at the top right of the Detail pane to open your source code in Xcode at the symbol you double-clicked in the Instruments pane.

    ../Art/For Symbol -> Xcode 2a.png

To restrict content of the Detail pane, type a string into the search box at the top right of the Instruments toolbar (or check Hide System Libraries in the Call Tree list at the left of the Detail pane).

To hide unwanted entries in the Extended Detail pane stack trace, drag the Backtrace Compression slider at the bottom of the pane.

Definitive Discussion