-
Notifications
You must be signed in to change notification settings - Fork 35
Description
It might be useful if some kind of crash logging can be added in, just in case some patch might interfere badly with something we haven't tried yet, might also help to track down some CTD issues like the ones reported in the #25 PR which might be caused by something in users config, making it hard for us to trigger on our end.
Windows default for app crashes is pretty bad now too, just ending the program with no indication that there was even any crash (the x has stopped working
dialog has been disabled since Win10 for some incredibly stupid reason...)
IIRC SetUnhandledExceptionFilter can be used to set a function that receives info about the exception like exception code/address it happened/etc, was able to use that before in another project to write info about crashes into a log file.
I wouldn't be surprised if there was some lib somewhere that can handle this for us nicely, maybe even with minidump support, but haven't seen anything like that yet.