Does anyone know of a good tutorial for learning how to use GDB? Right now, my method of debugging is a mix of cout statements and crossed fingers. I imagine if I understood how to use a debugger, my experience would probably be better. Sorry if you've answered this millions of times before- and thanks for reading!