Golang application and breakpad (C++ exception handler and go 'panic')

47 views
Skip to first unread message

Kolesi Mwasikakata

unread,
May 19, 2022, 5:00:57 AM5/19/22
to Google Breakpad Discuss
I have a golang application and I would like to use breakpad to generate minidumps after a crash. The problem I'm facing is that obviously a golang application upon a crash does not generate a C++ exception. Instead the application will 'panic'. The C++ exception handler can't catch a 'go panic' and no minidump file is generated.

Currently, I have used SWIG to wrap C++ breakpad library and I am able to instatiate the exception handler and manually generate a minidump file but I can't get it to be automatically generated upon a crash. Any help getting the golang and breakpad working together would be greatly appreciated.
Reply all
Reply to author
Forward
0 new messages