Files
krfb/kinetd
Laurent Montel 9a8d94d26b Adapt to new KWarning/kFatal/kDebug api
svn path=/trunk/KDE/kdenetwork/krfb/; revision=695881
2007-08-03 07:19:24 +00:00
..
2007-07-10 09:15:45 +00:00
2007-03-26 15:07:10 +00:00
2007-01-21 12:51:14 +00:00
2006-05-01 20:03:39 +00:00

Recommended practice to debug a kinetd program
==============================================

Instead of executing your program directly, start a wrapper script that 
looks like this:

#!/bin/sh
exec xterm -e gdb --args /opt/kde/bin/krfb $1 $2

Note that you cannot use konsole because it closes the file descriptor. You need 
a very recent gdb version for the "--args" option (>= 5.2, only available as
CVS snapshot at this time).