[Mono-list] Re: debugging support
Martin Baulig
martin@gnome.org
22 May 2002 18:47:36 +0200
Dietmar Maurer <dietmar@ximian.com> writes:
> I just added a check for unhandled exceptions to exception.c. I thougth
> its a good idea to write debugging informations before calling
> G_BREAKPOINT:
>
> if (!arch_exc_is_catched (domain, jit_tls, ip, (gpointer *)ctx->SC_EBP, obj)) {
> if (mono_debug_format != MONO_DEBUG_FORMAT_NONE) {
> mono_debug_make_symbols ();
> G_BREAKPOINT ();
> }
> mono_unhandled_exception (obj);
> }
>
> Or is this a bad idea?
Looks good :-)
> But it seems that debugging support is broken, at least I get no useful
> infos after loading the symbols.
Hmm, which debugging format are you using ?
If you're using dwarf-plus, don't worry - it's really broken, but I'm currently working on it.
--
Martin Baulig
martin@gnome.org