Debugging in Linux using core dumps

后端 未结 3 1696
没有蜡笔的小新
没有蜡笔的小新 2021-01-31 21:41

What are the \'best practices\' when it comes to debugging core dumps using GDB?

Currently, I am facing a problem:

  • The release version of my application is
3条回答
  •  广开言路
    2021-01-31 21:57

    No, you don't miss anything. debug and release are just different binaries, so the core files of release don't match the debug binary. You have to look at machine code to get something from the release core dump.

    You probably have to ask your user how the crash happened and collect additional log information or whatever you app produces.

提交回复
热议问题