I watched an extremely cool talk in college where a professor showed off some of the functionality of gdb by hooking it up to a running copy of Nethack and using it for various cheating. It was a bit over my head at the time but still felt pretty magical.