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 [EMAIL PROTECTED]

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

--- shadow/78570        2006-06-02 15:11:51.000000000 -0400
+++ shadow/78570.tmp.2322       2006-06-02 15:11:51.000000000 -0400
@@ -0,0 +1,61 @@
+Bug#: 78570
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: Windows XP
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: debug
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Wrong/missing strack trace information for nested type method
+
+The following boo application:
+
+    class Foo:
+        def zeng():
+            return Bar().baz()
+
+    class Bar:
+        def baz():
+            raise "ai"
+            return 42
+
+    Foo().zeng()
+
+when compiled and ran with the latest mono (1.1.15) produces the following
+stack trace output:
+
+Unhandled Exception: System.ApplicationException: ai
+in [0x0000a] (at SimpleBoo.boo:6) Bar:baz ()
+in [0x00005] (at SimpleBoo.boo:3) Foo:zeng ()
+in [0x00005] (at SimpleBoo.boo:9) SimpleBooModule:Main (System.String[] argv)
+
+with correct line information. The basic same program but defining Bar as a
+nested type:
+
+    class Foo:
+        def zeng():
+            return Bar().baz()
+        class Bar:
+            def baz():
+                raise "ai"
+                return 42
+
+    Foo().zeng()
+
+
+fails to provide correct line numbers for the nested type method:
+
+Unhandled Exception: System.ApplicationException: ai
+in <0x0002e> Foo+Bar:baz ()
+in [0x00005] (at SimpleBoo.boo:3) Foo:zeng ()
+in [0x00005] (at SimpleBoo.boo:9) SimpleBooModule:Main (System.String[] argv)
+
+Both programs output the correct stack trace information on ms.net.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to