Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Printing stack trace to debug output

Printing stack trace to debug output

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.3k Views
  • 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 Offline
    F Offline
    frankiefrank
    wrote on 22 Dec 2014, 16:38 last edited by
    #1

    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
    0
    • A Offline
      A Offline
      agabor
      wrote on 10 Feb 2015, 19:00 last edited by
      #2

      I would also be interested in this!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved