Can I use GDB to debug a running process?

You can attach to a running process with gdb -p PID.

Leave a Comment