+2003-01-04 Martin Baulig <martin@ximian.com>
+
+ * debug.c (release_symbol_file_table): Only call this if we're
+ actually modifying the symbol tables.
+ (mono_debug_open): Always set the `mono_debugger_class_init_func'
+ for MONO_DEBUG_FORMAT_MONO; this stuff should also go into core dumps.
+
2003-01-03 Martin Baulig <martin@ximian.com>
* debug.c: Disable the mono debugger stuff on Windows.
static gboolean must_send_finished = FALSE;
#endif
+extern void (*mono_debugger_class_init_func) (MonoClass *klass);
static guint64 debugger_insert_breakpoint (guint64 method_argument, const gchar *string_argument);
static guint64 debugger_remove_breakpoint (guint64 breakpoint);
continue;
}
} else {
+ mono_debugger_class_init_func = mono_debug_add_type;
+
if (!strcmp (arg, "internal_mono_debugger")) {
debug->flags |= MONO_DEBUG_FLAGS_MONO_DEBUGGER;
initialize_debugger_support ();
mono_debug_add_type (mono_defaults.serializationinfo_class);
mono_debug_add_type (mono_defaults.streamingcontext_class);
+ debugger_update_symbol_file_table ();
+
mono_debugger_unlock ();
return debug;
void
mono_debug_make_symbols (void)
{
- release_symbol_file_table ();
-
if (!mono_debug_handle || !mono_debug_handle->dirty)
return;
return TRUE;
}
-extern void (*mono_debugger_class_init_func) (MonoClass *klass);
-
static gboolean has_mono_debugger_support = FALSE;
#ifndef PLATFORM_WIN32
return;
has_mono_debugger_support = TRUE;
- mono_debugger_class_init_func = mono_debug_add_type;
-
ptr = buf = g_malloc0 (16);
x86_breakpoint (buf);
debugger_notification_address = buf;