http://bugzilla.novell.com/show_bug.cgi?id=605227
http://bugzilla.novell.com/show_bug.cgi?id=605227#c4 Marc Christensen <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #4 from Marc Christensen <[email protected]> 2010-07-12 16:29:10 UTC --- Test 1 fails to stop. Test 2 stops bug does not show source code or highlight anything. Test 3 behaves like Microsoft, it stops and highlights the line of code. This is the code used (contributed by jpobst): ====================================== using System; class Program { static void Main (string[] args) { // The exception options dialog is Debug->Exceptions (Ctrl-Alt-E) // // Three test cases: // Test 1: CLR Exceptions - User-unhandled is checked (VS default) // Test 2: CLR Exceptions - Thrown and User-unhandled is checked // Test 3: CLR Exception - User-unhandled is checked // Expand CLR Exceptions->System // Check Thrown for System.ArgumentException int i; try { // Test 2 Stops Here i = int.Parse ("hello"); } catch (FormatException ex) { Console.WriteLine (ex); } try { // Test 3 Stops Here throw new ArgumentException ("ack!"); } catch (ArgumentException ex) { Console.WriteLine (ex); } // Test 1 Stops Here i = int.Parse ("more hello"); Console.WriteLine (i); } } -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
