1
0
mirror of https://github.com/KDE/krfb synced 2026-07-01 15:51:18 -07:00
Files
krfb/kinetd
Script Kiddy f7d1f89ea9 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdenetwork/krfb/; revision=717661
2007-09-27 09:34:18 +00:00
..
2007-07-10 09:15:45 +00:00
2007-03-26 15:07:10 +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).