fork/m-overlay

git clone https://git.julia.blue/fork/m-overlay

blackops7799Added build files and stuffeefe2ce

gui
393 B15 linesraw
1function debug.trace()
2	local level = 1
3	Msg("\nTrace: \n")
4	while true do
5		local info = debug.getinfo(level, "Sln")
6		if not info then break end
7		if info.what == "C" then
8			Msg(level, "\tC function\n")
9		else
10			Msg(string.format("\t%i: Line %d\t\"%s\"\t%s\n", level, info.currentline, (info.name or "(null)"), (info.short_src or "(null)")))
11		end
12		level = level + 1
13	end
14	Msg("\n\n")
15end