obhq / obliteration

Experimental free and open-source PlayStation 4 kernel
https://obliteration.net
Apache License 2.0
628 stars 18 forks source link

Create minidump when crashed on Windows #58

Open ultimaweapon opened 1 year ago

ultimaweapon commented 1 year ago

So we can see the stack trace when user reporting an issue. We may also need to enable PDB file for the release build.

VocalFan commented 1 year ago

We can have a log file of sorts. Warnings, errors, exceptions, all that.

ultimaweapon commented 1 year ago

That one we already have. Logging only tell roughly what going on but does not provide the exact location where the crash happened. With minidump we can see everything like variable value, stack trace, etc. #48 is the example case that minidump will be useful. If we have minidump we will know the root cause immediately.

ultimaweapon commented 1 year ago

We may use this library https://github.com/rust-minidump/minidump-writer.