Create and send crash report

Does anyone have any suggestions or tutorials for reporting crashing a program? I want to start sending out a game that I developed for people, but if the game crashes due to error handling, I want to see these reports to my email address (along with data collected from the program). Does anyone know how to do this?

+3
source share
5 answers

IF you are using Visual Studio 2010, you can use the built-in error reporting. Then you can register with Microsoft, see http://msdn.microsoft.com/en-us/isv/bb190483

+4
source

- - try-catch. , , , , , , /, .

, , .

. , , . asm.

+3

MiniDumpWriteDump . , Visual Studio ( ).

+2

There is a good sample code on the Maciej Sinilo blog (he is also a programmer). The code includes how to get information from a crash (for example, whether it was an invalid read or write) and callstack or minidump. That was enough for me to start adding a crash handler to our test system.

Hope this helps.

+2
source

if you want some kind of error from the error report via the Internet, you should check EQATEC analytics

which has an accessible C ++ interface.

+1
source

Source: https://habr.com/ru/post/1792679/


All Articles