Skip to content

Debugging

Bobby Galli edited this page Feb 16, 2021 · 6 revisions

Notes

  • Use adb root shell to attempt to execute libcrashpad_handler.so directly to see if it is compatible with the device
  • Cmake build output is found at ${PROJECT_DIR}/app/.cxx/cmake/${debug|release}/${ABI}
  • Enable debugging of the Crashpad source by adding a symbols path in project configuration, add paths to ${CRASHPAD_DIR}/crashpad and $CRASHPAD_DIR}/crashpad/third_party/mini_chromium/mini_chromium
  • To debug Crashpad at crash time, set a breakpoint in client/crashpad_client_linux.cpp where HandleCrashImpl calls fork(), this will yield the pid of the spawned process

Clone this wiki locally