dev::gdb

gdb - the gnu debugger

debug using a coredump

gdb /path/executable /path/coredump

print a struc

set print pretty on
print var[0]

debug symbols: recompile with

-O0 -g