Sometimes using GDB on a system server can result in a ?deadlock. You
can however still use GDB by using the set
noninvasive
option. This indicates to GDB to not stop the program but allows you to
nevertheless examine its state. Thus, you can get backtraces and values of
variables (and watch them change underneath you).