clion doesn't properly remotely run my program
已完成
I'm trying to debug a program written in c++ for linux that runs on a remote device. Every time I try to run the executable nothing happens, the program appears as a process in top, but doesn't do anything, no breakpoints are being hit and it's not using any resources
I've tried running on different remote devices - all the fail the same way.
When colleagues run the same code with their CLion IDE on the same devices it works, so I'm pretty sure the problem is limited to my CLion.
I have already reinstalled CLion and deleted all config files, although maybe I missed something there.
Does anyone have an idea what might be going on?
请先登录再写评论。
Hello!
To begin with, please provide more details. On what build system is the program based? Do you build it locally or on the remote device? What type of run/debug configuration do you use in CLion?
Hi Anna,
thank you for the questions! I am building with cmake remotely on AMD64. I am running in debug or release (both don't run properly) on the remote host via ssh. The only thing that is printed to the console is:
/tmp/tmp.XXX/cmake-build-debug-remote-host-YYY/app
Does that answer your questions?
Best regards,
Konstantin
You use the remote mode with local sources (the "Remote Host" toolchain, https://www.jetbrains.com/help/clion/remote-projects-support.html), correct?
Please reproduce the issue and after that send the idea.log file (`Help | Show Log in ...`) to clion-support at jetbrains.com. Note that logs might contain private user's information (like file paths and names).
Hi Anna,
indeed, that's what I'm using. Alright, will do! Thanks for the info!
Best regards,
Konstantin