What is the right way to deploy files for a remote debug launch in Eclipse CDT?

只谈情不闲聊 提交于 2019-12-03 16:42:41

Does the system have SSH? SSH is great for sending files to remote machines. This is probably a bit much but you could create a custom eclipse plugin for this task if you really need to.

How about using 'Command to execute before application' filed 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'.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!