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:
Is there a better solution?
How about using 'Command to execute before application' field in Remote Application debug launch.
Host a FTP server on this host system and have an FTP client on target. Now write a command in 'Command to execute before application' to copy files from host to target via FTP. Since this command is executed before the application binary you would have the files on the target before application starts. Another option is you use SSH instead of FTP but that would require to create an account on your host that does not ask for authentication, because you would not be able to provide authentication using 'Command to execute before application'.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With