StackTracePlus
StackTracePlus copied to clipboard
StackTracePlus provides enhanced stack traces for Lua.
Partially fixes #16.
@ignacio, I really like this library and am using it in production. The other day there was an incident where a user was trying to upload a large file. This...
Also fix couple typos in comments.
I can't investigate it deeper right now, but there seems to be some edge case probably caused by weird metamethods or references. I tagged the relevant commit in my host...
`STP.stacktrace` is not strictly compatible to `debug.traceback`: It returns two values, instead of one. This creates problems in conjunction with varargs functions and those created through the Lua C API...
I'm not sure if this way would be obvious to others, it wasn't for me.
STP currently does not dump locals of C functions. When debugging those written using the Lua C API, it sometimes happens that the stacks looks different from what I expected....
As requested. Have some sort of way to retrieve the stack trace in a structure that can be manipulated, serialized, etc.
It seems that using stacktraceplus with strict.lua or pl.strict is not working.