Closed BangL closed 6 years ago
Do you have a sample mod that you know crashes on the windows version?
just put any faulty code.. its already enough to just call a not existing function. im already in my bed for today.
On 20 Sep 2017 05:08, "ZNixian" notifications@github.com wrote:
Do you have a sample mod that you know crashes on the windows version?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/blt4linux/blt4l/issues/93#issuecomment-330732635, or mute the thread https://github.com/notifications/unsubscribe-auth/AAhp6MCFXWfBY6qeUUIeroMfBw2a3pJqks5skIGRgaJpZM4PdRej .
Okay, I've got basic support for generating a crash.txt
file and exit()
ing the game when an error occurs.
This can be disabled by setting BLT_CRASH to CONTINUE, in which case it will act as it does currently, only it also prints the Lua stacktrace to the log.
lua errors should lead into a crash, since anything else could even lead into savegame corruption. plain pd2 and blt4w behaves like that, only blt4l does not. i still think that an optional just-log debug mode is useful and legit for devs though.