Files
Tim Jansen 3df37f41e6 backport fix for #77412
svn path=/branches/KDE_3_2_BRANCH/kdenetwork/krfb/; revision=300241
2004-03-31 21:52:45 +00:00
..
2004-03-18 13:51:27 +00:00
2004-03-31 21:52:45 +00:00
2004-03-18 13:51:27 +00:00
2004-03-04 13:13:07 +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).