start gdb using a pid
In addition to the previous you can directly use gdb -p <pid>
In addition to the previous you can directly use gdb -p <pid>
backtrace full: Complete backtrace with local variables up, down, frame: Move through frames watch: Suspend the process when a certain condition is met set print pretty on: Prints out prettily formatted C source code set logging on: Log debugging session to show to others for support set print array on: Pretty array printing finish: Continue … Read more