1
0
mirror of https://invent.kde.org/network/krfb synced 2024-07-08 12:05:49 +00:00
krfb/kinetd/README.debugging
Tim Jansen 0c31703e57 Added instructions on how to debug programs that use kinetd
svn path=/trunk/kdenetwork/krfb/; revision=149656
2002-04-15 21:00:12 +00:00

14 lines
434 B
Plaintext

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).