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
Forum Updated to NodeBB v4.3 + New Features

Printing stack trace to debug output

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 2.3k Views 1 Watching
  • 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 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 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