My situation: I'm currently trying to use Eclipse CDT as a replacement for a proprietary IDE. I have an enterprise application, which consists of an executable and a lot (30+) of shared library modules. The application is targeted for an embedded non-x86 platform, with POSIX-compatible operating system (QNX or GNU/Linux, depending on the selected toolchain). Because of that, debugging can't be done on a developer's machine. It has to be done remotely.
I'm using Eclipse Luna / CDT 8.5 with Remote System Explorer plugin and GDB/DSF Create Process Launcher installed. By means of those plugins Eclipse can launch a program remotely and debug it with gdbserver. But only the main executable can be configured for upload.
I wonder what is an appropriate way to deploy files for a remote debug launch via Eclipse?
My current choices are:
- Using Remote System Explorer perspective, "import" some remote folder as a "Remote project" in the workspace. Set Makefile to copy .so files to the mapped folder after build. After build, manually refresh the "remote project". Then, files will be uploaded to remote system.
- Using Remote System Explorer perspective, "export" binaries located in workspace to remote file system, so that files would be uploaded at remote launch. This method also require me to "refresh" all the projects before starting a debug session, or changes wouldn't be noticied.
- Don't use Eclipse for file uploading at all, and deploy them manually or by means of the build script.
- Take the hard way and contribute some code to Eclipse СDT.
Is there a better solution?