These are notes for debugging devel versions; the stable versions do not
need this special treatment.

-- When running under gdb:

host% gdb slforumbinaryname
(at gdb prompt)
handle SIGPIPE ignore
handle SIGPIPE nostop
handle SIGWINCH nostop
handle SIGWINCH ignore
handle SIGHUP  ignore
handle SIGHUP  nostop
handle SIGTRAP ignore
y
handle SIGTRAP nostop
y
run portnum -nofork
bt

(where portnum is the port # you've chosen)
Type "bt" while slforum is running under gdb, not at the gdb prompt.  If it
crashes, you'll immediately get a backtrace from gdb; this is insurance for
if you're away when it happens and someone kills the halted process before
you can examine it.


-- When not running under gdb:

make sure to limit coredumpsize to something greater than the memory usage
of slforum; otherwise, if it crashes, you'll have no way to find out how.
Also: it _will_ coredump in the root dir unless you do a chroot before
running it, because it makes / the current directory early in execution.


-- when developing your own version:

in slforum.h, change the version # from
	1.x.y
to
	1.x.y-yourinitials

so you can tell it apart from the standard version.


Thanks!
	-- the slforum team


-- useful strace stuff

If you're trying to find a specific call, it's good to
	nice strace -p 582 -o "| grep -i listen" 
(if listen is the call)
Also nice to have strace attach to the process rather than have the proces
run _under_ strace, this way you can stop the strace and leave chat running.

