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. How to show where app was running when it crashed
Forum Updated to NodeBB v4.3 + New Features

How to show where app was running when it crashed

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 881 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.
  • B Offline
    B Offline
    BasicPoke
    wrote on last edited by
    #1

    Howdy, If I am running in Debug and the app crashes and shows assembler code with the execution cursor, how can I show the cursor in my code to see where it was running? I thought there was a stack window, which would help, but I can't find it.
    Thanks
    Ron

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      If you want to see backtrace of your crashed app then it depends on OS and debugger.

      In gdb you can load your app and core file and run bt command to see a functions backtrace.

      If you run your app under QtCreator and it crashed then you should see a backtrace in debugger window.

      1 Reply Last reply
      0
      • B Offline
        B Offline
        BasicPoke
        wrote on last edited by
        #3

        Sorry, I am using Qt Creator. I was looking around and found the stack frame here: Window -> Views -> Stack
        This will help me.
        Ron

        1 Reply Last reply
        0
        • B Offline
          B Offline
          BasicPoke
          wrote on last edited by
          #4

          Thanks andreyc

          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