mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 01:06:30 +08:00
bring back some script engine debugging, hoping this will help track down the randoms segfaults
This commit is contained in:
@@ -49,9 +49,9 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
string EventName = m_Script.State + "_event_" + FunctionName;
|
||||
|
||||
///#if DEBUG
|
||||
/// Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
|
||||
///#endif
|
||||
#if DEBUG
|
||||
Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
|
||||
#endif
|
||||
|
||||
if (Events.ContainsKey(EventName) == false)
|
||||
{
|
||||
@@ -80,13 +80,13 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
}
|
||||
|
||||
//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
|
||||
///#if DEBUG
|
||||
/// Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
|
||||
///#endif
|
||||
#if DEBUG
|
||||
Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
|
||||
#endif
|
||||
// Found
|
||||
ev.Invoke(m_Script, args);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user