Viewing Threads in the Debug Area

    Steps
  1. With the debug area open, run your application.

  2. Pause your application’s execution, or wait for your code to stop at a breakpoint.

  3. Choose a thread from the pop-up menu in the debug bar.

  4. Examine the corresponding source or assembly code.

image: ../art/viewing_threads_in_debug_area.jpg

The debug area lets you examine the threads and stacks of a program being debugged. When you select a thread or a stack within a thread in the debug bar, Xcode displays the corresponding source file or assembly code in the main editor.

The screenshot shows the debug area while choosing a thread and a stack frame to examine.