Update development docs to use 'thread apply all bt full'

fixes #11385
This commit is contained in:
Michael Friedrich 2016-03-15 09:45:27 +01:00
parent 08c5006a59
commit af58be7884
1 changed files with 4 additions and 4 deletions

View File

@ -156,12 +156,12 @@ a new gdb run.
If Icinga 2 aborted its operation abnormally, generate a backtrace.
(gdb) bt
(gdb) bt full
(gdb) thread apply all bt full
Generate a full backtrace for all threads and store it into a new file
(e.g. for debugging dead locks):
If Icinga 2 is still running generate a full backtrace from the running
process and store it into a new file (e.g. for debugging dead locks):
# gdb -p PID -batch -ex "thread apply all bt full" -ex "detach" -ex "q" > gdb_bt.log
# gdb -p $(pidof icinga2) -batch -ex "thread apply all bt full" -ex "detach" -ex "q" > gdb_bt.log
If you're opening an issue at [https://dev.icinga.org] make sure
to attach as much detail as possible.