Inspecting Crashes
The GNU Project Debugger (gdb) is a general purpose debugger, but we're mostly going to focus on getting useful information when an application crashes. To get started, open an application in gdb, for example AppCenter by running:
1
gdb io.elementary.appcenter
Copied!
  1. 1.
    Now run this application by typing run and pressing enter.
  2. 2.
    If the application doesn't crash right away try reproducing the crash.
  3. 3.
    Get more information by typing backtrace and pressing enter.
  4. 4.
    Please share the lines after (gdb) backtrace, those should provide useful information.
For more information see the manpages by running: man gdb. Another tutorial: Debugging with GDB
Export as PDF
Copy link
Edit on GitHub