Running Your Application with Diagnostics

    Steps
  1. From the Scheme toolbar menu, choose a scheme.

  2. From the same menu, choose Edit Active Scheme to display the scheme dialog.

  3. In the left column, select Run.

  4. To specify runtime diagnostics, click Diagnostics.

  5. Click OK.

  6. Click the Run button or choose Product > Run.

Definitive Discussion

    iOS Debugging Magic
image: ../Art/scheme_diagnostics.png

During the test and debug phases of your product development, configure a scheme to run your application with various memory management diagnostics and logging options enabled. Schemes have a Run action with a Diagnostics pane that allows you to choose from a selection of runtime diagnostic tools.

Select the tools that you want Xcode to use. You can view output from these tools in the debug area console and in the debug log in the log navigator.

Memory Management options:

Logging options:

Debugger options: