[[license text=""" Copyright © 2007 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled [[GNU_Free_Documentation_License|/fdl.txt]]. By contributing to this page, you agree to assign copyright for your contribution to the Free Software Foundation. The Free Software Foundation promises to always use either a verbatim copying license or a free documentation license when publishing your contribution. We grant you back all your rights under copyright, including the rights to copy, modify, and redistribute your contributions. """]] Sometimes using gdb on a server can result in deadlock. You can 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 back traces and value of variables (and watch them change underneath you).