Using Valgrind installed on remote linux Follow
The last post here about this is from 2 years ago, and back then there was no solution but they were working on one. Was there any progress made, and if there was then how can I do it?
Please sign in to leave a comment.
The post you mentioned refers to https://youtrack.jetbrains.com/issue/CPP-14178. As you can see, the issue's state is Fixed, which means the feature was implemented and now it's possible to use Valgrind in the full remote mode - https://www.jetbrains.com/help/clion/remote-projects-support.html.
But how do I use Valgrind in full remote mode? The link you provided doesn't mention Valgrind at all.
You need to manually specify the path to the remote Valgrind executable in `File | Settings | Build, Execution, Deployment | Dynamic Analysis Tools | Valgrind`. After that you can run targets with Valgrind Memcheck - https://www.jetbrains.com/help/clion/memory-profiling-with-valgrind.html#run-target. The remote profile must be specified in the run/debug configuration switcher.