[IronPython] Traceback line numbers in Mono (workaround)

Sanghyeon Seo sanxiyn at gmail.com
Fri Jan 19 08:16:58 CET 2007


Hallo, alle Mono Nutzer, (or something like that)

One of the most annoying things in using IronPython on Mono is that
line numbers are missing in tracebacks.

There is a workaround now!
For full details see http://bugzilla.ximian.com/show_bug.cgi?id=80191

Summary:
mono --debug ipy.exe -X:SaveAssemblies script.py

This will display correct line numbers in traceback. You need both
--debug and -X:SaveAssemblies. The issue is that Mono can't display
line numbers from AssemblyBuilder built in memory, but only from
Assembly loaded from disk.

-- 
Seo Sanghyeon



More information about the Ironpython-users mailing list