Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Seneca professor having trouble with CDT

I found this suggestion from several years ago, kinda hoping for an Eclipse
setting/one-click-solution, though:

Run this line:
xterm -title "debugger terminal" -e /bin/sh -c "tty; sleep 3600" &

In the xterm window there will be a line indicating the terminal device
of the xterm.

Run this line:

echo "tty /dev/pts/X" > /path/to/CDT/project/.gdbinit

(Replacing X with the actual terminal device returned by xterm). Now when
you debug the program in Eclipse the output should be sent to the xterm
instead of the console.


On Tue, Feb 23, 2010 at 11:21 AM, Andrew Overholt <overholt@xxxxxxxxxx> wrote:

This was sent to me:

I don't know if what he wants is possible, but it's worth responding if
someone who is knowledgeable has the time.


cdt-dev mailing list

Back to the top