Filename: DEBUGGING

The SGS daemon (sgsd) can be executed from within a shell instead of
completely detached (daemonized).  This helps when tracking down strange
bugs such as unexplained deaths of the daemon process.

In its current form, the sgsd process will run in the shell it has been
started from if more than three arguments are provided in the call.

For example, the sgsd process will run in the shell and print additional
debugging information if you invoke it like this:

	sgsd t t t

The sgsd process can also be run from within the GNU debugger (gdb), so
bugs can be easily identified, isolated, and ultimately resolved.

When reporting a bug for SGS, a gdb trace would be greatly appreciated
if you can provide one.





