[Mono-devel-list] Patch for generating debug info in System.Reflection.Emit

Kamil Skalski nazgul at nemerle.org
Tue May 17 14:26:13 EDT 2005


Dnia wtorek, 17 maja 2005 17:25, Lluis Sanchez napisał:
> Hi!
>
> This patch adds some basic support for generating debug info in SRE. It
> implements ModuleBuilder.DefineDocument and
> ILGenerator.MarkSequencePoint, and should be enough for most of
> compilers. With this patch, Boo and IKVM can generate correct debug
> info.

This is really great news. Thanks a lot! Maybe now I will also try mono 
debugger for Nemerle development.

>
> The symbol writer is still implemented in
> Mono.CompilerServices.SymbolWriter. I added a wrapper class that
> implements ISymbolWritter and which is created by ModuleBuidler using
> reflection. This class just forwards the calls to MonoSymbolWriter (the
> one used by mcs).
>
> There is also a patch for reflection.c, which is a workaround for bug
> #74914. With this patch, MethodBuilder objects will return the correct
> token value after the module is saved. This fixes the problem because
> the debug info is generated after saving the module.
>
> I'll commit if there are no objections.
> Lluis.

-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the Mono-devel-list mailing list