
The Complete Guide to Debugging With LLDB
A full guide to LLDB: its command grammar, breakpoints, stepping, variables, memory, watchpoints, core files, Python, remote debugging and macOS specifics.
Tag
31 posts

A full guide to LLDB: its command grammar, breakpoints, stepping, variables, memory, watchpoints, core files, Python, remote debugging and macOS specifics.

Measure C, C++, Rust and Go the right way: clocks, optimizer barriers, warm-up, statistics, environment control, frameworks and reporting, with working code.

One guide to locking in C, C++ and Rust: mutexes, deadlock, condition variables, semaphores, barriers, rwlocks, spinlocks, futexes and debugging.

A full guide to GDB for C and C++: building for debugging, crashes, wrong answers, hangs, corruption, threads, core files, remote targets and habits.

A map of memory-safety bugs in C and C++, from stack overflows to use-after-free and type confusion, with the habits, tools and flags that stop each one.

Learn threads from first principles in C with pthreads, C++ with std::thread and jthread, and Rust: create, join, share data, stop, name and debug them.

Find memory errors, leaks, uninitialised reads and thread races in C and C++ with Valgrind, then profile heap and cache use, debug live and gate your CI.