Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Printing stack trace to debug output

    General and Desktop
    2
    2
    1944
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      frankiefrank last edited by

      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?

      "Roads? Where we're going, we don't need roads."

      1 Reply Last reply Reply Quote 0
      • A
        agabor last edited by

        I would also be interested in this!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post