[Mono-list] exception patch

Dietmar Maurer dietmar@ximian.com
24 May 2002 10:36:39 +0200


Hi Martin,

I think your recent changes are wrong. You added the G_BREAKPOINT() to
mono_thread_abort, so you stop the program after the whole stack is
unwind.

The idea behind my recent changes (arch_exc_is_catched) is that we can
invoke the debugger before we unwind the stack, just to give developers
the possibility to debug the real problem. So IMO my previous solution
is the correct one. What exactly was the problem with that solution?

A future implementation can simply install an default UnhandledException
event in the domain which pops up a dialog and ask the user if he want
to invoke a debugger (like the MS impl.)

- Dietmar