|
Re: How to run/debug c++ project in eclipse on remote linux server from windows? [message #663136 is a reply to message #663120] |
Sun, 03 April 2011 20:36   |
Eclipse User |
|
|
|
You should be able to do it like this:
On the linux server, run 'gdbserver :<port> <yourProgram>, while on Windows Eclipse, choose the Remote Launcher Delegate. To do that, go to Debug Configurations... and create a new C/C++ Application. Then at the bottom of the dialog, there will be a hyperlink, click on it and change the setting to use "GDB (DSF) Remote System Process Launcher". Then fill in the project and binary, and in the debugger tab, make sure to put the IP of your Linux box along with the port you chose to run gdbserver. Eclipse will connect to your application and let you debug it.
Note that for the next Eclipse release, we have made this debugging solution easier to find by adding a "C/C++ Remote Application" configuration type. But it is not part of Helios.
Marc
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05255 seconds