Access source code from Instruments

If you have an Xcode project with the source code for the symbols listed in a stack trace, Instruments can open Xcode so that you can make any desired changes.

  1. Find an icon for your code (denoted by a user () symbol) in the detail pane.

  2. Control-click on the entry, in the popover that appears choose Reveal in Xcode.

    Screenshot showing the popover for opening the user symbol in Xcode

To make it easier to find symbols for your code, you can use the display settings for the instrument to filter symbols from system libraries using the filter and configuration bar at the bottom of the display pane.

SEE ALSOAbout the trace documentAbout the trace document detail paneAbout the trace document inspector paneMap data to source codeAccess trace data for multiple runsInstruments User Guide