You use the debug area to control the execution of your code, inspect variables and registers, view console output, and interact with the debugger. The debug area opens automatically when you build and run your app by clicking the Run button in the toolbar or choosing Product > Run.
The three main components of the debug area are:
The debug bar contains buttons that disable or enable all breakpoints, control the execution of your app, enable graphical debugging of view and memory state, simulate location, override environment settings, and jump to stack frames.
The variables view presents the list of variables available to inspect in the scope of your present location in the code. This list is a disclosable hierarchy, revealing the values of all parts of a variable’s structure as you progressively click the disclosure triangles.
The console contains an interactive Terminal-like text area. You use it to interact directly with LLDB, see output from use of Print Description, and work with standard input and output from your app.
You can debug multiple apps or processes at the same time. Each session requires a separate project window.