Summary
Programs crash. They crash all the time. Sometimes it’s easy to figure out why a program is crashing, but your programs will quickly get too big for someone to glance at and definitively say “That’s where the problem is!” (even for you, the person writing the program).
Uncovering the flow of how your program got into a specific state is
the whole goal of debugging, whether you’re using a pencil and paper, or
using a tool like lldb
.
You should now be able to: