Contents

About LLDB and Debugging

A guide documenting the LLDB command-line debugger

At a Glance

A debugger has two primary functions: controlling execution flow and accessing state .

You primarily control the execution of a program by setting breakpoints at different locations in code. Whenever a program hits a set breakpoint, the debugger temporarily stops execution of the program. While the execution is stopped, you can use the debugger to inspect or modify the current state of different variables, step over, into, or out of the next statement, and continue execution as needed.

See Also

WWDC 2013: Advanced Debugging with LLDB

Debugging with Xcode

The Official LLDB Website

Next

Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-09-13