Hi there,
I’m developing a small GTK4 application in a Flatpak version of Gnome Builder, and trying to detect leaks using Valgrind from the Run button. When I get the report, it suggests adding the extra --leak-check=full option to the command, but I couldn’t find where could I modify the run command or add flags.
Note, that I’m developing this GTK4 app on an Ubuntu LTS with GTK3, so if I just try to run the built executable, it won’t be able to find the GTK4 libraries.
Question:
- How can I add the --leak-check=full option to the Valgrind run command in Gnome Builder?
- Or how can I run Valgrind from any command line so that it respects the GTK4 runtime of the flatpak binary?
Thank you in advance!