mdelfede Messages: 1259 Registered: September 2007
I made a small patch to add valgrind suppression file to theide.
A sample file 'valgrind.supp' is provided, made from Novo's one and some additions by me.
After installation, file is located in ~/.upp/theide-svn/valgrind.supp (in case of svn build, otherwise in ide configuration folder).
By now file must be edited manually.... it would be interesting to add support for editing from inside ide.
Another way to pass parameters to valgrind is to create a ".valgrindrc" file either in the root of your home directory or in current working directory.
In order to pass name of the file with suppressions you'll need to add a line below to it.
It is also useful to add "--leak_check=all".
One line per option. valgrind doesn't understand shell extensions, so, "~/.upp/ide/valgrind.supp" won't work. You'll need to put "/home/user/.upp/ide/valgrind.supp". If you are creating a ".valgrindrc" in current working directory, it is enough to put "--suppressions=valgrind.supp" in it.