Skip to content

Commit

Permalink
Update development docs to use 'thread apply all bt full'
Browse files Browse the repository at this point in the history
fixes #11385
  • Loading branch information
Michael Friedrich committed Mar 15, 2016
1 parent 08c5006 commit af58be7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/21-development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit af58be7

Please sign in to comment.