I\'m debugging a core dump of my program (post-mortem) inside gdb. I opened it with: gdb [program_name] [core_name]
However when I attempt to inspect a STL vecto
print the vector:
(gdb) print *vec
Then familiarize yourself with the internals of your implementation's vector and print the raw buffer. Often called "_M_buffer" or something like that. Depending on how yours is done there may be an internal object that the buffer is inside of.