Golang application and breakpad (C++ exception handler and go 'panic')
54 views
Skip to first unread message
Kolesi Mwasikakata
unread,
May 19, 2022, 5:00:57 AM5/19/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.