Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
#include "client/linux/handler/exception_handler.h“ // Include Header file for exception handler
static bool dumpCallback(const google_breakpad::MinidumpDescriptor& descriptor, void* context, bool succeeded)
{
  printf("Dump path: %s\n", descriptor.path());
  return succeeded;
}

int main(int argc, char* argv[])
{
  google_breakpad::MinidumpDescriptor descriptor("/tmp"); 
  google_breakpad::ExceptionHandler eh(descriptor, // Minidump will be saved in /tmp
                                       NULL,
                                       dumpCallback, //Callback
                                       NULL,
                                       true,

Google Breakpad Utilities

  • dump_syms is used for symbol extraction.
Panel
dump_syms ./gpsample_app > gpsample_app.sym, will generate symbol file.
  • minidump_stackwalk is used for  symbolized stack

...

  • trace 
Panel

It takes a minidump and its corresponding text-format symbols and produce a symbolized stacktrace.

Panel

minidump_stackwalk minidump.dmp gpsample_app.sym


  • uploadDumps.sh collects core dumps/ mini dumps

...

  •  to crash server whenever any applications crashes

...

  • .