AppCode 2021.1 Help

Debug tool window

When you start a debugger session, the Debug tool window appears. Use this window to control the debugger session, display and analyze the program data (frames, threads, variables, and so on), and perform various debugger actions.

This is a brief overview of the Debug tool window. For general instructions on using tool windows, refer to Tool windows.

Debug tool window overview


The available debug sessions are separated into tabs in the top part of the Debug tool window.

Session tabs

If you enable Services window for specific run/debug configurations, the entire view of the Debug window will be displayed inside the Services window when you debug any of these configurations.

To allow multiple debug sessions, go to Run | Edit Configurations from the main menu and select the Allow parallel run checkbox in the dialog that opens. See more details in Run and debug on multiple simulators.


Debug tool window shows the following tabs for each session:

  • Frames: lets you navigate in call stacks of the threads.

  • Variables: lists the variables available in the current context and lets you analyze and modify the program state.


  • Console: displays the program output.

    For local sessions, the tab works the same as when you just run the program without the debugger attached. The only difference is that debugger output (for example, log messages from breakpoints) is added to the console.

    When you attach to a process, the program output is not redirected and only the debugger output is shown in the debugger console.

  • LLDB: provides a console for LLDB command-line debugging.

  • Threads: displays the list of live threads and lets you switch between them. From this tab, you can export threads information in text format.

  • Memory View: shows raw memory of the running process (for Objective-C only).

Show/hide tabs


    Layout options menu

Move tabs



    Dragging a tab to another location

Restore default layout



Last modified: 14 April 2021