Run the program debugging:
1, ps -aux | process grep xxx, queries to the debugger id
2, gdb xxx pid or
gdb
attach pid
3, you can set breakpoints
4, after the commissioning program can continue to run
Deadlock debugging process:
info threads: what can the process thread