start gdb using a pid May 5, 2023 by Tarik In addition to the previous you can directly use gdb -p <pid>