eclipse neon remote debug - eclipse

I just installed the latest version of eclipse neon. I previously used eclipse mars. But due to other issues that should be updated in eclipse Neon I changed to this version.
I develop a program for a ARM Linux system on a Windows computer, so using a cross-gcc and doing remote debug using gdb/gdbserver from eclipse. I first made a connection using the remote systems perspective using ftp for file transfer and ssh for the shell. This worked fine and I was happy with this.
But in Neon it seems to be changed because the connection that I made in the Remote Systems explorer can't be selected anymore when you use C/C++ Remote Application Debug. When you look at the connection listbox I only see local connection and not the remote systems anymore. When I create a new connection from the debug configurations dialog I can only choose serial/telnet/ssh but when I choose ssh it doesn't work. I can make the connection and open a command shell, so ssh works. But when it wants to transfer the file to my target it is using sftp appearently (looking at the error log) but I don't have this on my target.
When I transfer the file manually to my target (using the remote systems perspective) the debugging works fine but of course I want to transfer the file automatically when I start a debug.
My question is if indeed this connection management is changed that you can't choose anymore the systems that you defined in the remote systems explorer?
Or do you need install a specific plugin?
The current configuration possibilities are very limited and also the debugging of the issues is limited.
Other solution is that I have scp installed on the target. Is there a way to change from sftp to scp?
Thanks.

Related

Eclipse remote project stored also locally

I am working on a project, on a windows laptop, which is connected via RSE plugin to the linux server (can be run/tested only there).
So I have only a logical SSH link on my laptop, no actual files. Is it possible to somehow have project stored both on local and remote side? (so that both project are in sync)?
The problem is that the linux server is used for labs/experiments by other employees and its files can be removed any day. Now I'm making manual copy to my local machine at the end of each day, and it's really cumbersome.
Of course I don't have to use RSE if there is any other plugin that can satisfy my needs.
Thanks.

Build and debug a project on a remote server via SSH with Eclipse

Unfortunately, I do not find a solution for my problem in this similiar question.
I have a server with special hardware and a special (GNU-compatible) toolchain. I can only access this server via SSH.
Now I try to set up a development system with Eclipse. Is it possible to set-up a configuration to be able to build and debug via SSH as if the program would run on my local computer? And if yes, could you tell me a little bit about it? ;-)
Provided your server is a Linux machine running a X server, you may want to look around SSH -X.
Install Eclipse on your server
Install an X11 environment on your client (e.g. for Windows: XMing)
Connect to SSH with the -X option (e.g. for Windows, there is a checkbox on Putty)
Launch Eclipse from the ssh connection.

Remote C development on a UNIX machine from a Windows machine using eclipse

I have terminal access to an AIX machine using ssh/telnet (No root access). I need to develop programs using C and compile it using the xlc compiler. Currently I can open remote files in eclipse(Juno) using RSE and edit files, but code-completion and error checking won't work. Can anyone please, help me to setup eclipse, so that code-completion would work and also, I would be able to compile the code from my Windows machine. Any help would be deeply appreciated.
You could try this, http://wiki.eclipse.org/PTP/rdt-setup or.. check out...
How to build a c++ project on a remote computer in Eclipse?
Somewhat similar. If you look at the 3rd answer.
Also you could try X11 Forwarding -
http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter3.html#using-x-forwarding
Instead of trying to setup Eclipse and CDT to do remote development, you may want to consider purchasing IBM Rational Developer for Power Systems Software (RDP), which is an Eclipse-based remote development environment that allows for C and C++ (and COBOL) application development on AIX from a Windows or Linux system. More information can be found here.

NetBeans remote editing for Java projects?

My project makes use of the Play! framework, so I don't need an editor that can compile. I generally like NetBeans, but would like to remote edit source files on the server to save time. I also often switch between my desktop/netbook for development, so remote editing would save me from syncing a dev environment.
All my searches for remote editing for Netbeans suggest that it's available for PHP projects, but I don't see anything for Java projects. If Netbeans doesn't support remote editing for Java projects, is there an IDE that does?
Edit: I develop on Windows but the server runs Linux.
You don't mention your operating system, but there are solutions for Windows where you can make a FTP server appear as a regular drive in Windows. That way you can use any editor/IDE you like regardless whether that supports FTP access or not.
A quick search diggs up this:
http://www.ghacks.net/2006/08/03/how-to-mount-an-ftp-drive-in-windows/

Eclipse RSE and xdebug - will this work?

I have a remote server connected over SSH using the RSE plugin in Eclipse Galileo. Is there anyway to "map" it to a PHP Debug session in Eclipse?
(Xdebug is installed and working)
I have heard that another solution is SSHFS but this might be tricky as I'm on WinXP and would prefer a 'generic' Eclipse solution.
The short answer is NO. RSE will not work with PHP Debugger. This might change in Eclipse Halios but I've not moved to Halios yet. The most common solution for Windows seems to be a virtual machine and share a samba mount of the remote webserver between the host and client. Not tried that yet either!
or i imported remote server through RSE so you can debug the remote server when you have the same copy locally. then whenever needed, i edit the local php files and they copy it from eclipse, got RSE, paste it there (overwrite).
it's a pain that RSE does not auto sync.