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

-Charley

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

This was sent to me:

http://seneblog.fardad.com/2010/02/i-have-problem-with-eclipse.html

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

Thanks,

Andrew
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev