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=80191 --- shadow/80191 2007-01-12 04:08:26.000000000 -0500 +++ shadow/80191.tmp.11939 2007-01-12 05:00:03.000000000 -0500 @@ -100,6 +100,25 @@ IronPython/Hosting/PythonEngine.cs:FormatStackTrace(StackTrace) ... StackFrame[] is obtained from StackTrace IronPython/Hosting/PythonEngine.cs:FrameToString(StackFrame) ... frame.GetFileName() ... frame.GetFileLineNumber() ... frame.GetMethod().Name + +------- Additional Comments From [EMAIL PROTECTED] 2007-01-12 05:00 ------- +$ mono --debug ipy.exe -X:SaveAssemblies foo.py +Traceback (most recent call last): + File /home/tinuviel/fepy/r5/foo.py, line 10, in Initialize + File /home/tinuviel/fepy/r5/foo.py, line 8, in foo1 + File /home/tinuviel/fepy/r5/foo.py, line 5, in foo2 + File /home/tinuviel/fepy/r5/foo.py, line 2, in foo3 +ZeroDivisionError: Division by zero + +So it's working after all. + +1. --debug alone doesn't produce line numbers. +2. -X:SaveAssemblies alone doesn't produce line numbers. +3. -X:SaveAssemblies forces IronPython to save in-memory +AssemblyBuilder to the disk and load from it. IronPython normally +doesn't do that. + +Eh, so, how to fix this? _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
