[Mono-devel-list] Heads Up: Reflection.Emit changes

Varga Zoltan vargaz at freemail.hu
Sat Nov 8 08:39:11 EST 2003


                                                     Hi,

  This problem is caused by the way the debugger loads debugging
info for assemblies: it uses an assembly load hook, and
creates its
data structures for each module in an assembly inside the
hook. The
problem with this approach is that modules can be added to a 
dynamic assembly even after the hook is called.

I think the best solution would be to change the calls to 
_mono_debug_get_image to _mono_debug_open_image in 
mono-debug.c. That would ensure that modules get added to the
debug structures even if they are defined later. Martin,
could you do 
this ?

                          bye

                              Zoltan






Laurent Morichetti <l_m at pacbell.net> írta:

> testcorlib is getting an assert in mono_debug.c:269
> -Laurent
> 
> Varga Zoltan <vargaz at freemail.hu> wrote:
> 
> Hi All,
> 
> As part of fixing bug 
> 
> http://bugzilla.ximian.com/show_bug.cgi?id=48700
> 
> I had to make a lot of changes to the Reflection.Emit code.
> It is highly 
> possible that I broke something. So if anybody notices that
> something
> is not working which worked before, drop a mail to the list
> and I will look
> into it ASAP.
> 
> thanks
> 
> Zoltan
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list







More information about the Mono-devel-list mailing list