Jump to content

Engine-Side Crashes Do Not Provide Any Traceback


Philip.
  • Pending

When the game crashes from the engine it doesn't print any Lua stacktrace in some cases. It just prints:

APP:Klei//DoNotStarveTogetherBetaBranch/donotstarvetogether_master.dmp written.

For this reason such crashes are basically impossible to debug without going crazy. It looks like most of the UI widget methods (TextWidget, TextEditWidget, ...) provide such information correctly.

I guess it only prints out when the crash is directly inside the bridge function called from Lua. If it is any deeper it won't print anything.

This is understandable since you do not want to expose the game's engine but it would be really really nice if at least the bridge function's name logged in some way to at least give an idea of where to start looking for the bug :)


Steps to Reproduce

Try to crash the game's engine in a way the crash is not caused by the bridge function directly but by some function called from it instead.




User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...