Files
Script Kiddy 67fc034a88 CVS_SILENT made messages
svn path=/branches/KDE_3_1_BRANCH/kdenetwork/krfb/; revision=247739
2003-09-02 05:13:35 +00:00
..
2003-06-15 01:34:13 +00:00
2003-07-07 21:20:48 +00:00
2003-07-06 03:08:51 +00:00
2003-09-02 05:13:35 +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).