title: C/C++ need a clever way to track function calls
body: <p>I am looking for a clever way to track function calls and returns.
  I know I can use the debugger, but I would like a way to just have it print something out to the terminal when calling a function vs having to step through code.<br>
  I am thinking that I might be able to use the preprocessor, but I am not sure what would be the best way to go about this.<br>
  Or is there a way to use gdb to print out the information that would be useful, while not having to step through the code.</p>