[Mono-bugs] [Bug 80191][Wis] Changed - ironpython tracebacks on Mono don't have line numbers.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Jan 12 04:08:26 EST 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 sanxiyn at gmail.com.

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

--- shadow/80191	2007-01-12 03:45:58.000000000 -0500
+++ shadow/80191.tmp.11156	2007-01-12 04:08:26.000000000 -0500
@@ -81,6 +81,25 @@
 ipy.exe test.py > trace_MarkSequencePoint.txt
 
 ------- Additional Comments From sanxiyn at gmail.com  2007-01-12 03:45 -------
 Created an attachment (id=18485)
 Trace
 
+
+------- Additional Comments From sanxiyn at gmail.com  2007-01-12 04:08 -------
+IronPython side of the story is:
+
+IronPythonConsole/PythonCommandLine.cs:Main(string[])
+IronPythonConsole/PythonCommandLine.cs:Run(PythonEngine,string)
+IronPythonConsole/PythonCommandLine.cs:RunFile(PythonEngine,string)
+... code in the file with given filename is compiled and executed
+... Exception is catched
+IronPython/Hosting/PythonEngine.cs:FormatException(Exception)
+IronPython/Hosting/PythonEngine.cs:FormatStackTraces(Exception)
+IronPython/Hosting/PythonEngine.cs:FormatStackTracesNoDetail(Exception)
+... IList<StackTrace> is obtained from Exception
+IronPython/Hosting/PythonEngine.cs:FormatStackTrace(StackTrace)
+... StackFrame[] is obtained from StackTrace
+IronPython/Hosting/PythonEngine.cs:FrameToString(StackFrame)
+... frame.GetFileName()
+... frame.GetFileLineNumber()
+... frame.GetMethod().Name


More information about the mono-bugs mailing list