Teardown-Issue-Tracker-Maintainers / Teardown-Issue-Tracker

A public repo for the community to track issues/bugs/feature requests in Teardown.
12 stars 5 forks source link

[Feature] improve script error callstack #237

Open CrazyFluffyPony opened 2 years ago

CrazyFluffyPony commented 2 years ago

Is your feature request related to a problem (if not, explain why you think this feature should be added)? Please describe.

More advanced scripts are absolutely undebugable.

Describe the solution you'd like

print full callstack (or at least 5 entries). This should really not be any effort at all and is a huge quality of life improvement for coders.

Describe alternatives you've considered

keep it like it is and scare away modders

Additional context

No response

carsakiller commented 2 years ago

This is a really important issue for a few of my advanced projects. They are absolutely untestable in-game due to there being no stack trace when I am working with hundreds of lines of code. This would be a huge improvement for all modders that are programming in Teardown.

Modders are able to do a lot with the game using the Lua API, and it is what keeps bringing more life into the game. Fixing this simple issue will be huge in helping modders keep doing larger, more awesome things.