Can I use GDB to debug a running process? December 2, 2022 by Tarik You can attach to a running process with gdb -p PID.