Search code examples
intellij-ideavalgrindclion

How to run a program using Valgrind in Clion?


How can I run my program using valgrind directly in CLion using the run configuration ? I found how to add parameters when I launch my program, but how can I launch valgrind like :

valgrind my_program arg1 --arg2 ...

And how can I change easily the parameters without going on the "Edit configuration" panel to add, for example, valgrind options ?


Solution

  • Valgrind is now natively supported in CLion 2017.3.