[Mono-list] problem with --debug

Varga Zoltan vargaz@freemail.hu
Fri, 14 Feb 2003 18:15:10 +0100 (CET)


                                                Hi,

  The following code asserts in class.c when running with
--debug:

		AppDomain.CurrentDomain.Load ("System.Xml.dll");

I debugged this, and the following happens:
- mono tries to load System.Xml
- this causes it to load System
- after loading System, it tries to load the debug info for
System
- it tries to load the debug info for System.Xml, because
System depends
  on it.
- it tries to resolve some tokens in System.Xml, but this
fails, since
  the image->references array is not set up for System.Xml yet.

                              bye

                                  Zoltan