Learn LLDB - Expanded Project Guides

Generated from: LEARN_LLDB_DEEP_DIVE.md

This folder contains deep-dive guides for each project in the learning path.

Overview

These projects build a full LLDB workflow from first breakpoints to post-mortem crash analysis, live attach/hang debugging, watchpoint-based corruption hunting, and advanced Python customization. Each guide is self-contained and includes theory, architecture, implementation guidance, and verification checklists.

Project Index

# Project Difficulty Time Key Focus
1 The Basics - First Steps Beginner 1-2 hours Stepping, breakpoints, inspection
2 The Crash - Crash Report Analysis Beginner 1-2 hours Core files, stop reasons
3 The Hang - Attaching to a Running Process Intermediate 2-3 hours Live attach/detach, thread analysis
4 The Corruption - Using Watchpoints Intermediate 2-3 hours Watchpoints, memory writes
5 LLDB Python Scripting Advanced 1 week Custom LLDB commands
6 Custom Data Formatter Expert 1-2 weeks Type summaries, synthetic children

Learning Paths

  • Fast Foundations (Weekend): Projects 1 -> 2 -> 3
  • Systems Debugger Path: Projects 1 -> 3 -> 2 -> 4 -> 5 -> 6
  • Automation Path: Projects 1 -> 5 -> 6 -> 2 -> 3 -> 4

Prerequisites

  • C basics (pointers, structs, stack vs heap).
  • Comfort with the command line.
  • For Projects 5-6: Python basics and OOP familiarity.