2003-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mono / jit / debug.c
index d3048fbc3073eaaace1ca0ab04013e2cd3ae6e95..b3be8f131ac61966f1f82e2caa3762ef9b36a9cf 100644 (file)
@@ -747,6 +747,9 @@ mono_debug_open_image (MonoDebugHandle* debug, MonoImage *image)
        for (ptr = image->references; ptr && *ptr; ptr++)
                mono_debug_add_assembly (*ptr, NULL);
 
+       if (image->assembly->dynamic)
+               return info;
+
        switch (info->format) {
        case MONO_DEBUG_FORMAT_STABS:
        case MONO_DEBUG_FORMAT_DWARF2: