Stuff about GNU Debugger (AKA gdb).
Quick reference
List all variables in current context: info locals if at a breakpoint, or bt full if at a breakpoint
generate-core-file to generate a coredump. Be aware of this bug on RHEL 7.x, for which the workaround is info threads before creating the coredump.