Printing stack trace to debug output
I would like to print out my stack trace at certain times. I'm not sure how to achieve this.
I tried downloading StackWalker but I can't compile the latest version in my Qt 5.4 environment (with MSVC 2010 compiler).
StackWalker project is described and first presented here: http://www.codeproject.com/Articles/11132/Walking-the-callstack
Latest version of code: https://stackwalker.codeplex.com/releases/view/109444
I also saw some reference to QCrashHandler but I don't understand how to use this.
What's the best way to print the stack trace?
I would also be interested in this!