mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
Updated Client Message Bugs
This commit is contained in:
25
Trace.lua
25
Trace.lua
@@ -6,10 +6,14 @@ trace = {}
|
||||
trace.names = {}
|
||||
trace.scheduledfunction = ""
|
||||
|
||||
trace.names.all = true
|
||||
trace.names.all = false
|
||||
trace.names.New = false
|
||||
trace.names.Inherit = false
|
||||
trace.names.do_scheduled_functions = false
|
||||
--trace.names.ClientGroup = true
|
||||
trace.names.Scheduler = true
|
||||
trace.names.ToCoalition = true
|
||||
trace.names.ToClient = true
|
||||
trace.names.do_scheduled_functions = true
|
||||
trace.names.main = false
|
||||
trace.names.Meta = false
|
||||
trace.names.mistdisplayV3 = false
|
||||
@@ -259,3 +263,20 @@ trace.i = function(object, variable)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
trace.x = function( object, variable )
|
||||
|
||||
local info = debug.getinfo( 2, "nl" )
|
||||
trace.nametrace = info.name
|
||||
local objecttrace = ""
|
||||
if object then
|
||||
objecttrace = object
|
||||
end
|
||||
local variabletrace = ""
|
||||
if variable then
|
||||
variabletrace = "( " .. routines.utils.oneLineSerialize( variable ) .. " )"
|
||||
end
|
||||
|
||||
env.info( string.format( "%6d/%1s:%20s.%s" , info.currentline, "I", objecttrace, trace.nametrace .. variabletrace) )
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user