[Mono-bugs] [Bug 61711][Nor] Changed - [PATCH] Stacktrace does not contain line numbers on os x 10.3 (mono 1.0)
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Tue, 27 Jul 2004 10:24:46 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=61711
--- shadow/61711 2004-07-27 10:23:55.000000000 -0400
+++ shadow/61711.tmp.21201 2004-07-27 10:24:46.000000000 -0400
@@ -0,0 +1,68 @@
+Bug#: 61711
+Product: Mono: Runtime
+Version: unspecified
+OS: unknown
+OS Details: Macosx 10.3
+Status: RESOLVED
+Resolution: FIXED
+Severity: Unknown
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: joe@uti.is
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc: grompf@sublimeintervention.com,martin@ximian.com
+Summary: [PATCH] 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;
+ }
+
+}
+
+------- Additional Comments From grompf@sublimeintervention.com 2004-07-26 15:00 -------
+Created an attachment (id=8719)
+Proposed Patch
+
+
+------- Additional Comments From lupus@ximian.com 2004-07-27 10:23 -------
+I completed and tweaked the patch and committed to cvs.
+Thanks.
+
+------- Additional Comments From lupus@ximian.com 2004-07-27 10:24 -------
+Fixed in cvs.