aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Util.cs
diff options
context:
space:
mode:
authorMelanie2012-02-10 23:59:10 +0000
committerMelanie2012-02-10 23:59:10 +0000
commitacfe7e555e41b84ede44db1978dcd23434be580d (patch)
tree4e5ca15b8661371ca397a7f73803b289d9e0faa5 /OpenSim/Framework/Util.cs
parentChange parser to leave embedded quotes alone if the pattern is recognized (diff)
parentChange parser to leave embedded quotes alone if the pattern is recognized (diff)
downloadopensim-SC_OLD-acfe7e555e41b84ede44db1978dcd23434be580d.zip
opensim-SC_OLD-acfe7e555e41b84ede44db1978dcd23434be580d.tar.gz
opensim-SC_OLD-acfe7e555e41b84ede44db1978dcd23434be580d.tar.bz2
opensim-SC_OLD-acfe7e555e41b84ede44db1978dcd23434be580d.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Framework/Util.cs')
-rw-r--r--OpenSim/Framework/Util.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Framework/Util.cs b/OpenSim/Framework/Util.cs
index fae6802..dd30c2f 100644
--- a/OpenSim/Framework/Util.cs
+++ b/OpenSim/Framework/Util.cs
@@ -1676,13 +1676,14 @@ namespace OpenSim.Framework
1676 /// </summary> 1676 /// </summary>
1677 public static void PrintCallStack() 1677 public static void PrintCallStack()
1678 { 1678 {
1679 StackTrace stackTrace = new StackTrace(); // get call stack 1679 StackTrace stackTrace = new StackTrace(true); // get call stack
1680 StackFrame[] stackFrames = stackTrace.GetFrames(); // get method calls (frames) 1680 StackFrame[] stackFrames = stackTrace.GetFrames(); // get method calls (frames)
1681 1681
1682 // write call stack method names 1682 // write call stack method names
1683 foreach (StackFrame stackFrame in stackFrames) 1683 foreach (StackFrame stackFrame in stackFrames)
1684 { 1684 {
1685 m_log.Debug(stackFrame.GetMethod().DeclaringType + "." + stackFrame.GetMethod().Name); // write method name 1685 MethodBase mb = stackFrame.GetMethod();
1686 m_log.DebugFormat("{0}.{1}:{2}", mb.DeclaringType, mb.Name, stackFrame.GetFileLineNumber()); // write method name
1686 } 1687 }
1687 } 1688 }
1688 1689