Stay up-to-date with everything C++!
Content directly fetched from the subreddit just for you.
Join our group for discussions : @programminginc
Powered by : @r_channels
Post #24521
22
Ways to generate crash dumps for crash handling?
Hi there!
I was interested in generating crash minidumps cross platform for debugging-- I've found them to be a useful tool for debugging. I know you can use SEH on Windows, but that's exclusive to windows, and cannot be mixed with C++ exception handling. Is there a way to write an exception handler that can grab what the state of memory looked like, as well as the call stack in order to generate a crash report/crash dump? I know there's also like google breakpad/crashpad but it seemed like I'd need to add in chromium to my project, and there's also Sentry, but I wanted to see what other options I have.
https://redd.it/1pqy1hm
@r_cpp
Hi there!
I was interested in generating crash minidumps cross platform for debugging-- I've found them to be a useful tool for debugging. I know you can use SEH on Windows, but that's exclusive to windows, and cannot be mixed with C++ exception handling. Is there a way to write an exception handler that can grab what the state of memory looked like, as well as the call stack in order to generate a crash report/crash dump? I know there's also like google breakpad/crashpad but it seemed like I'd need to add in chromium to my project, and there's also Sentry, but I wanted to see what other options I have.
https://redd.it/1pqy1hm
@r_cpp