[Mono-bugs] [Bug 61711][Wis] New - Stacktrace does not contain line numbers on os x 10.3 (mono 1.0)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 18 Jul 2004 18:51:03 -0400 (EDT)


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 joe@uti.is.

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

--- shadow/61711	2004-07-18 18:51:03.000000000 -0400
+++ shadow/61711.tmp.22331	2004-07-18 18:51:03.000000000 -0400
@@ -0,0 +1,56 @@
+Bug#: 61711
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: Macosx 10.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: joe@uti.is               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Stacktrace does not contain line numbers on os x 10.3 (mono 1.0)
+
+The stacktrace generated on macosx 10.3 with mono 1.0 using
+"mono --debug test.exe" does not contain line numbers. The output i get is:
+
+"
+TiBook:~ joachima$ mono --debug /Users/joachima/Desktop/C\#/test.exe 
+test
+
+Unhandled Exception: System.ArgumentException: A
+in <0x0005c> Bug:raise ()
+in <0x00024> Bug:Main (string[])
+"
+
+Eg. Compiling the following code.
+
+using System;
+
+public class Bug
+{
+  static void Main(string[] args)
+  {
+    Console.WriteLine("test");
+
+    raise();
+
+    Console.WriteLine("bye");
+  }
+
+  private static void raise()
+  {
+    throw new ArgumentException("A");
+    // useless stuff
+    int a = 1;
+    int b = 2;
+    int c;
+    c = a + b;
+  }
+  
+}