How to Write a Crash Reporter
gamesbymason.com
gamesbymason.com
Are there other cross-platform (i.e. macOS, Linux, Windows) crash reporting libraries? It seems like it should be common enough to warrant a reusable library.
I’m going to do a followup post at some point with what I learned from that project because it was much bigger. The TLDR is that IMO there’s a gap here I’d love to see an open source project fill. I don’t have time to start it right now, and my recommendation if you don’t want to get too in the weeds is to ship symbols with your executable and bypass a lot of the work.
(Edit: This didn’t answer your direct question sorry. I looked at both Crashpad and Breakpad when I started the second crash reporter and decided against both, but I don’t quite remember why.)