Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve exception handling when running in mdb: check whether an exce…
…ption is caught inside a runtime-invoked method or the runtime-invoke wrapper. 2009-06-08 Martin Baulig <martin@ximian.com> * debug-mini.c (MonoDebuggerExceptionAction): Moved into debug-mini.h. (_mono_debugger_throw_exception): Don't make this static. (_mono_debugger_unhandled_exception): Likewise. (mono_debugger_handle_exception): Moved to mini-exceptions.c * debug-mini.c (MonoDebuggerExceptionAction): Moved here from debug-mini.c. (_mono_debugger_throw_exception): Add function prototype. (_mono_debugger_unhandled_exception): Likewise. * mini-exceptions.c (mono_handle_exception_internal): Added `MonoJitInfo **out_ji' arg; return the first exception handler if the exception is caught and we're running inside the debugger. (mono_debugger_handle_exception): Moved here from debug-mini.c; improve exception handle inside runtime-invoke, check whether the exception is actually caught in the method being invoked and not by the runtime-invoke-wrapper. svn path=/branches/mono-2-4/mono/; revision=135636
- Loading branch information
Martin Baulig
committed
Jun 8, 2009
1 parent
8c11b0c
commit aa667d9
Showing
4 changed files
with
136 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters