Reading the output streams from a C/C++ coded application <p>First of all, i'm on Ubuntu 14.04</p> <p>So, here's my problem: I'm dealing with a C++ coded application that has a graphical interface (games/music players/etc). This application constantly sends strings to a logger whenever something happens, but those are only visible inside the client.</p> <p>What I've tried to do already (failures):</p> <ul> <li><p>strace the application and filter the results (let's say if the application showed the message "Hello, user", i would log all the outputs to a test file and search for "Hello")</p></li> <li><p>ltrace the application</p></li> <li><p>debug the application with dbg</p></li> <li><p>search for debug methods on C/C++ apps</p></li> </ul> <p>What I've got from this last method is that programs usually log errors and messages through a <code>clog</code> stream. What could I do to retrieve that information?</p> <p>Resuming, I have a graphical C/C++ coded application that constant inputs strings on a window inside the client; I want to read those strings or any other strings/inputs this application does. Any debugging/memory reading information may also be helpful!</p> <p>Thanks</p>