Bug 47 - Unhandled exceptions are not caught by MonoDevelop
Summary: Unhandled exceptions are not caught by MonoDevelop
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 2.4
Hardware: Macintosh Mac OS
: --- critical
Target Milestone: ---
Assignee: Lluis Sanchez
Depends on:
Reported: 2011-07-22 13:47 UTC by Miguel de Icaza [MSFT]
Modified: 2011-11-15 11:51 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Miguel de Icaza [MSFT] 2011-07-22 13:47:47 UTC
This is something that we need to add to MonoDevelop 2.4 for our MonoTouch users.

Currently, when an unhandled exception is being raised, MonoDevelop does nothing with it, and instead just lets the application die.

In MonoTouch this can be replicated by creating a NullReferenceException inside a piece of code, this will end up dumping on the application output window the stack trace, but we never get an exception shown on the IDE stopping the application at the place where the crash took place, allowing us to explore the variables.

While we wait on the updated MonoTouch runtime that can run MonoDevelop/master, we should make sure this is fixed on 2.4
Comment 1 Mike Krüger 2011-08-02 05:46:15 UTC
lluis: can you backport the 2.6 fix for this ?
Comment 2 Lluis Sanchez 2011-08-16 07:11:10 UTC
Is it worth backporting this now that we are about to release 2.6?
Comment 3 Jeffrey Stedfast 2011-09-27 11:43:03 UTC
is this needed anymore?
Comment 4 Alan McGovern 2011-11-14 16:21:52 UTC
If i understand correctly MD isn't breaking on unhandled exceptions being throw. Has this been fixed?
Comment 5 Mikayla Hutchinson [MSFT] 2011-11-15 11:51:43 UTC
We aren't doing any more 2.4.x releases.