Whenever there is an error in a Leah script, I want to type it values for all the local and global variables. As a file - in addition to the normal stack trace
How do I get the default behavior for all errors?
If you are using standard lua interpreter, then with your own function Replace debug.traceback If you are embedding Lua in your program, then use your traceback function in lua_pcall .
Comments
Post a Comment