1) Run program within gdb 2) Examine core file 3) Attach gdb to running process
Debugging and Profiling