aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/Executor.cs
diff options
context:
space:
mode:
authorSean Dague2008-02-18 14:17:09 +0000
committerSean Dague2008-02-18 14:17:09 +0000
commitf47bcb0f98c6272caed91a436ad714ac70c43cfe (patch)
treef4a8f12f249249c0122453d953d66203339c00ea /OpenSim/Region/ScriptEngine/Common/Executor.cs
parentUpdate CONTRIBUTORS (diff)
downloadopensim-SC-f47bcb0f98c6272caed91a436ad714ac70c43cfe.zip
opensim-SC-f47bcb0f98c6272caed91a436ad714ac70c43cfe.tar.gz
opensim-SC-f47bcb0f98c6272caed91a436ad714ac70c43cfe.tar.bz2
opensim-SC-f47bcb0f98c6272caed91a436ad714ac70c43cfe.tar.xz
bring back some script engine debugging, hoping this will help track down the randoms segfaults
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/Executor.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/Executor.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/Executor.cs b/OpenSim/Region/ScriptEngine/Common/Executor.cs
index e35882b..21cca6b 100644
--- a/OpenSim/Region/ScriptEngine/Common/Executor.cs
+++ b/OpenSim/Region/ScriptEngine/Common/Executor.cs
@@ -49,9 +49,9 @@ namespace OpenSim.Region.ScriptEngine.Common
49 49
50 string EventName = m_Script.State + "_event_" + FunctionName; 50 string EventName = m_Script.State + "_event_" + FunctionName;
51 51
52///#if DEBUG 52#if DEBUG
53/// Console.WriteLine("ScriptEngine: Script event function name: " + EventName); 53 Console.WriteLine("ScriptEngine: Script event function name: " + EventName);
54///#endif 54#endif
55 55
56 if (Events.ContainsKey(EventName) == false) 56 if (Events.ContainsKey(EventName) == false)
57 { 57 {
@@ -80,13 +80,13 @@ namespace OpenSim.Region.ScriptEngine.Common
80 } 80 }
81 81
82//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined 82//cfk 2-7-08 dont need this right now and the default Linux build has DEBUG defined
83///#if DEBUG 83#if DEBUG
84/// Console.WriteLine("ScriptEngine: Executing function name: " + EventName); 84 Console.WriteLine("ScriptEngine: Executing function name: " + EventName);
85///#endif 85#endif
86 // Found 86 // Found
87 ev.Invoke(m_Script, args); 87 ev.Invoke(m_Script, args);
88 88
89 } 89 }
90 90
91 } 91 }
92} \ No newline at end of file 92}