Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Remote debug problem with Remote System Explorer plugin
Remote debug problem with Remote System Explorer plugin [message #730821] Thu, 29 September 2011 09:21 Go to next message
schliz11 is currently offline schliz11Friend
Messages: 6
Registered: September 2011
Junior Member
I configured remote debug as in:
processors.wiki.ti.com/index.php/How_to_setup_Remote_System_Explorer_plug-in

Everything is working for a console application but when
I try to debug a gtk graphical application.

I use the Automatic Remote Debugging Launcher
I got the following error:

Last login: Tue Sep 27 18:46:31 2011 from ubuntu.local
echo $PWD'>'
gdbserver :2345 /home/myTest;exit
root@LT_F8DC7A004491:~# echo $PWD'>'
/home/root>
root@LT_F8DC7A004491:~# gdbserver :2345 /home/myTest;exit
Process /home/myTest created; pid = 3798
Listening on port 2345
Remote debugging from host 192.168.0.140

(intelliCon3:3798): Gtk-WARNING **: cannot open display:

Child exited with retcode = 1

Child exited with status 1
GDBserver exiting

So I set in "Commands to set before execution" in the debugging configuration:

export DISPLAY=":0.0"

But now I get the following error:

Error in final launch sequence
Failed to execute MI command:
-exec-run
Error message from debugger back end:
Don't know how to run. Try "help target".
Don't know how to run. Try "help target".

Thank you for your advice.
Georg

Re: Remote debug problem with Remote System Explorer plugin [message #730830 is a reply to message #730821] Thu, 29 September 2011 09:50 Go to previous message
schliz11 is currently offline schliz11Friend
Messages: 6
Registered: September 2011
Junior Member
Found the solution Smile

I needed to enable XForwarding on my panel's /etc/ssh/sshd_config
X11Forwarding yes

[Updated on: Thu, 29 September 2011 09:52]

Report message to a moderator

Previous Topic:Signal View of debugger is always empty
Next Topic:cdt-master-8.0.1.zip does not contains packed files
Goto Forum:
  


Current Time: Fri Apr 26 05:50:34 GMT 2024

Powered by FUDForum. Page generated in 0.02757 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top