Cedric Vivier | 15 Oct 08:47

[PATCH] Get back methods in the symbol files generated by SRE-using compilers

Hey all,

I've recently discovered that code generated by booc (or other
compilers using SRE [1]) cannot be conveniently debugged with the mono
debugger anymore because there is no methods information in the
generated symbol file.
It was working pre-kahalo, but when symbol writing code from SRE came
back in r105607 (Jun 11 2008) the necessary
SymbolWriter.SetMethodSourceRange method has not been implemented but
just stubbed with a "#if FIXME" englobing all body.

This patch implements SetMethodSourceRange using the new underlying
MonoSymbolWriter's API so that the symbol files generated by SRE-using
compiler are useful again.

Please review.

Regards,

[1] System.Reflection.Emit
Attachment (SymbolWriterImpl.patch): text/x-diff, 2534 bytes
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Gmane