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

Cedric Vivier cedricv at neonux.com
Wed Oct 15 02:48:28 EDT 2008

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.


[1] System.Reflection.Emit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SymbolWriterImpl.patch
Type: text/x-diff
Size: 2533 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20081015/7a815c6e/attachment.bin 

More information about the Mono-devel-list mailing list