webmcp

view framework/env/trace/debug_trace.lua @ 402:04172238d79b

Do not require "engine" field to be set for mondelefant.connect{...}; Fixed bugs in mondelefant.connect{...} that could have crashed Lua; Shortened Lua registry key for mondelefant library
author jbe
date Wed Jan 06 02:39:50 2016 +0100 (2016-01-06)
parents 0b7e87f2dc91
children
line source
1 --[[--
2 trace.debug_trace(
3 message -- optional message to add
4 )
6 This function includes a traceback into the debugging log
8 --]]--
10 function trace.debug_trace(message)
11 trace._new_entry{ type = "traceback", message = tostring(debug.traceback(message or "", 2)) }
12 end

Impressum / About Us