Contents Menu Expand Light mode Dark mode Auto light/dark mode
🐛 LLDB
🐛 LLDB

Using LLDB

  • Tutorial
  • GDB to LLDB command map
  • Frame and Thread Format
  • Variable Formatting
  • Symbolication
  • Symbols on macOS
  • Remote Debugging
  • Testing LLDB using QEMU
  • Tracing with Intel Processor Trace
  • On Demand Symbols
  • Troubleshooting
  • Links
  • Man Page

Scripting LLDB

  • Python Scripting
  • Python Reference
  • Python API
    • SBAddress
    • SBAttachInfo
    • SBBlock
    • SBBreakpoint
    • SBBreakpointList
    • SBBreakpointLocation
    • SBBreakpointName
    • SBBroadcaster
    • SBCommandInterpreter
    • SBCommandInterpreterRunOptions
    • SBCommandReturnObject
    • SBCommunication
    • SBCompileUnit
    • SBData
    • SBDebugger
    • SBDeclaration
    • SBEnvironment
    • SBError
    • SBEvent
    • SBExecutionContext
    • SBExpressionOptions
    • SBFile
    • SBFileSpec
    • SBFileSpecList
    • SBFrame
    • SBFunction
    • SBHostOS
    • SBInstruction
    • SBInstructionList
    • SBLanguageRuntime
    • SBLaunchInfo
    • SBLineEntry
    • SBListener
    • SBMemoryRegionInfo
    • SBMemoryRegionInfoList
    • SBModule
    • SBModuleSpec
    • SBModuleSpecList
    • SBPlatform
    • SBPlatformConnectOptions
    • SBPlatformShellCommand
    • SBProcess
    • SBProcessInfo
    • SBQueue
    • SBQueueItem
    • SBReproducer
    • SBScriptObject
    • SBSection
    • SBSourceManager
    • SBStream
    • SBStringList
    • SBStructuredData
    • SBSymbol
    • SBSymbolContext
    • SBSymbolContextList
    • SBSyntheticValueProvider
    • SBTarget
    • SBThread
    • SBThreadCollection
    • SBThreadPlan
    • SBTrace
    • SBTraceCursor
    • SBType
    • SBTypeCategory
    • SBTypeEnumMember
    • SBTypeEnumMemberList
    • SBTypeFilter
    • SBTypeFormat
    • SBTypeList
    • SBTypeMember
    • SBTypeMemberFunction
    • SBTypeNameSpecifier
    • SBTypeSummary
    • SBTypeSummaryOptions
    • SBTypeSynthetic
    • SBUnixSignals
    • SBValue
    • SBValueList
    • SBVariablesOptions
    • SBWatchpoint
    • declaration
    • value
    • value_iter

Developing LLDB

  • Overview
  • Contributing
  • Building
  • Testing
  • Fuzzing
  • Scripting Bridge API
  • DWARF Extensions supported by LLDB
  • Caveats
  • Open Projects
  • Public C++ API
  • Private C++ API

External Links

  • Source Code
  • Releases
  • Discussion Forums
  • Bug Reports
  • Code Reviews
Back to top

Links#

This page contains links to external resources on how to use LLDB. Being listed on this page is not an endorsement.

Blog Posts#

Dancing in the Debugger — A Waltz with LLDB (2014)#

A high level overview of LLDB with a focus on debugging Objective-C code.

Videos#

LLDB: Beyond “po” (2019)#

LLDB is a powerful tool for exploring and debugging your app at runtime. Discover the various ways to display values in your app, how to format custom data types, and how to extend LLDB using your own Python 3 scripts.

Advanced Debugging with Xcode and LLDB (2018)#

Discover advanced techniques, and tips and tricks for enhancing your Xcode debugging workflows. Learn how to take advantage of LLDB and custom breakpoints for more powerful debugging. Get the most out of Xcode’s view debugging tools to solve UI issues in your app more efficiently.

Debugging with LLDB (2012)#

LLDB is the next-generation debugger for macOS and iOS. Get an introduction to using LLDB via the console interface and within Xcode’s graphical debugger. The team that created LLDB will demonstrate the latest features and improvements, helping you track down bugs more efficiently than ever before.

Migrating from GDB to LLDB (2011)#

LLDB is the next-generation debugger for macOS and iOS. Discover why you’ll want to start using LLDB in your own development, get expert tips from the team that created LLDB, and see how it will help you track down bugs more efficiently than ever before.

Books#

Advanced Apple Debugging & Reverse Engineering (2018)#

A book about using LLDB on Apple platforms.

Extensions#

facebook/chisel#

Chisel is a collection of LLDB commands to assist in the debugging of iOS apps.

DerekSelander/LLDB#

A collection of LLDB aliases/regexes and Python scripts.

Next
lldb – The Debugger
Previous
Troubleshooting
Copyright © 2007-2023, The LLDB Team
Made with Sphinx and @pradyunsg's Furo
Last updated on Aug 20, 2023
On this page
  • Links
    • Blog Posts
      • Dancing in the Debugger — A Waltz with LLDB (2014)
    • Videos
      • LLDB: Beyond “po” (2019)
      • Advanced Debugging with Xcode and LLDB (2018)
      • Debugging with LLDB (2012)
      • Migrating from GDB to LLDB (2011)
    • Books
      • Advanced Apple Debugging & Reverse Engineering (2018)
    • Extensions
      • facebook/chisel
      • DerekSelander/LLDB