Using Valgrind memory analyzer with console app
-
I have a console application that takes user input and I want to run the memory analyzer to detect memory leaks. I have "Run in Terminal" checked, and running the application by itself in Qt Creator is fine.
However, running the application with valgrind memory analyzer doesn't open a terminal window. Instead it outputs to Application Output. I can't enter any input and valgrind just waits for the program to continue.
How do I have the program run in terminal with valgrind memory analyzer? I am on Ubuntu 14.04 LTS.