Dietmar Maurer <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to