Bug 18948 - Out-of-solution exceptions are not visualized
Summary: Out-of-solution exceptions are not visualized
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Debugger ()
Version: 4.2.x
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: David Karlaš
Depends on:
Reported: 2014-04-11 07:56 UTC by villermen
Modified: 2014-05-30 07:48 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 villermen 2014-04-11 07:56:45 UTC
I do not get a messagebox stating where or what exception has been thrown if it is not an exception I have specified to be thrown myself (it is thrown in a library not managed by the solution). Please see my support question on the subject, and check out the video's for a compact description http://forums.xamarin.com/discussion/comment/50034.

I do not know what circumstances trigger this, but it happens on all projects, even newly created ones. I'm having a hard time figuring out what part of my code is making an exception happen due to this.

Comment 1 Udham Singh 2014-04-14 08:37:30 UTC
I have checked this issue and able to reproduce this. To reproduce this issue I have created a sample project(), implemented the code to throw exception and got the exception below :

System.Exception: Exception of type 'System.Exception' was thrown.
  at bug_18948.MainClass.Main (System.String[] args) [0x00001] in /Users/MM/Projects/bug_18948/bug_18948/Program.cs:10

Screencast : http://screencast.com/t/nSvHDqYM

Environment Info:

Mac OS X 10.9.2
Xamarin Studio : 4.2.3 (build 60)
Comment 2 Jeffrey Stedfast 2014-04-14 17:40:54 UTC
This works on Mac but fails in Windows, so *probably* a CorDebugger issue
Comment 3 Jeffrey Stedfast 2014-04-14 17:42:04 UTC
The simplest repro case is to call File.Open() on a non-existent file (as Gr.Viller illustrated on the forums)
Comment 4 David Karlaš 2014-04-15 07:45:21 UTC
Fix will be available in an upcoming release. Thank you for reporting this.