An alternative would be implementing a limited selection of functions from the debug library, namely debug.traceback() in a sandboxed way (discarding any traceback above the computer's bios's level), which could then be used with xpcall.
Edited by dimitriye98, 03 June 2015 - 12:09 AM.












