Bug fixes

This commit is contained in:
Sven Van de Velde
2016-02-20 07:59:47 +01:00
parent e550af8801
commit 9591f02a10
7 changed files with 91 additions and 17 deletions

View File

@@ -250,8 +250,9 @@ end
trace.i = function(object, variable)
local info = debug.getinfo( 2, "nl" )
if info.name ~= trace.nametrace then
trace.nametrace = info.name
trace.nametrace = info.name
if trace.nametrace == nil then
trace.nametrace = "function"
end
if trace.names.all or trace.tracefunction( trace.nametrace ) or trace.classes[ object ] then
local objecttrace = ""