[Mono-bugs] [Bug 81207][Min] New - Environment.StackTrace omits method parameters

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 21 13:16:27 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by monkey at jpobst.com.

http://bugzilla.ximian.com/show_bug.cgi?id=81207

--- shadow/81207	2007-03-21 12:16:27.000000000 -0500
+++ shadow/81207.tmp.8831	2007-03-21 12:16:27.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 81207
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: monkey at jpobst.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Environment.StackTrace omits method parameters
+
+When using Environment.StackTrace, the parameters to a method are not
+displayed.  (They do display on a caught Exception.StackTrace.)
+
+Test Program:
+using System;
+class MyTest
+{
+	static void Main (string[] args)
+	{
+		Console.WriteLine ("-- Start --");
+		Console.WriteLine (Environment.StackTrace.ToString ());
+		Console.WriteLine ("-- End --");
+	}
+}
+
+Mono output:
+-- Start --
+
+   at MyTest.Main ()
+-- End --
+
+MS output:
+-- Start --
+   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
+   at System.Environment.get_StackTrace()
+   at MyTest.Main(String[] args)
+-- End --
+
+Differences:
+- Main is missing parameter info (String[] args)
+- Two missing lines of stack trace (get_StackTrace, GetStackTrace)
+- Extra line break in mono


More information about the mono-bugs mailing list