How to show where app was running when it crashed

  • 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.

  • 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.

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

  • Thanks andreyc

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.