Working on Windows 10, enabled WSL and installed Ubuntu. WSL toolchain configured, I can build and run stuff on CLion, everything works perfectly except for Valgrind.
I used the path:
\\wsl$\Ubuntu\usr\bin\valgrind
but everytime I try to run a Memcheck I get:
Valgrind executable is not found
What should I do?
Try to use Posix path /usr/bin/valgrind
.
https://www.jetbrains.com/help/clion/memory-profiling-with-valgrind.html#valgrind-wsl
Works for me.