bring back some script engine debugging, hoping this will help track down the randoms segfaults

This commit is contained in:
Sean Dague
2008-02-18 14:17:09 +00:00
parent ea0f3efcac
commit f47bcb0f98
3 changed files with 18 additions and 18 deletions

View File

@@ -228,14 +228,14 @@ namespace OpenSim.Region.ScriptEngine.Common.ScriptEngineBase
try
{
///cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
///#if DEBUG
/// eventQueueManager.m_ScriptEngine.Log.Debug("[" + ScriptEngineName + "]: " +
/// "Executing event:\r\n"
/// + "QIS.localID: " + QIS.localID
/// + ", QIS.itemID: " + QIS.itemID
/// + ", QIS.functionName: " +
/// QIS.functionName);
///#endif
#if DEBUG
eventQueueManager.m_ScriptEngine.Log.Debug("[" + ScriptEngineName + "]: " +
"Executing event:\r\n"
+ "QIS.localID: " + QIS.localID
+ ", QIS.itemID: " + QIS.itemID
+ ", QIS.functionName: " +
QIS.functionName);
#endif
LastExecutionStarted = DateTime.Now.Ticks;
KillCurrentScript = false;
InExecution = true;