need assistance to configure a deployment

已回答

all configured as described in the manual

but two problems are there

it auto-sync only changed files (sources)

I really doesn't need this, I 'd like to sync an executable only,

to configure GDB remote debug with it.

what I'm doing wrong? 

0

Hi! 

Are you talking about uploading files to a server?

You can suppress automatic upload (set the File | Settings | Build, Execution, Deployment | Deployment | Options | Upload changed files automatically to the default server option to Never) and upload the executable manually when you need - in the Project tool window, select this file, choose Upload to on the context menu, and then select the target deployment server from the list.

Or you can exclude files and folders from uploading. Please find more details in our web-help: https://www.jetbrains.com/help/clion/excluding-files-and-folders-from-deployment.html.

0

not sure that is what I suppose.

 

I suppose two things:

 

1. really the uploading is not required in my case (remote debugging) but if this was performed, I suppose that IDE should  perform a synchronization , not an upload last changed source only, should check which files exist remotely and upload all missed files too. Currently seems that only amended file is uploaded.

2. regarding the binary , manual upload a binary is useless, suppose that IDE (after successful build) auto uploads a binary ,  run gdbserver for this and connect local gdb to this . I didn't find how to do this in a settings

0
  1. Automatic upload means that whenever a change is saved in the IDE, it will be deployed to the deployment server. CLion considers a local file changed as soon as it is saved either automatically or manually. Please note that by default, only files changed by the IDE will be uploaded. If files are changed by some other process, they are not automatically uploaded. To change this behavior and autoupload these changes as well, enable the File | Settings | Build, Execution, Deployment | Deployment | Options | Upload external changes option.
  2. This process isn't automated. To launch the remote GDB debug session you need to run an executable on target system under gdbserver and then launch the remote Run/Debug configuration in CLion.
0

请先登录再写评论。