[Mono-bugs] [Bug 71947][Wis] Changed - Debug.Assert not working out of the box

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 31 Jan 2005 09:25:31 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by matze@braunis.de.

http://bugzilla.ximian.com/show_bug.cgi?id=71947

--- shadow/71947	2005-01-31 07:53:04.000000000 -0500
+++ shadow/71947.tmp.30133	2005-01-31 09:25:31.000000000 -0500
@@ -1,15 +1,15 @@
 Bug#: 71947
 Product: Mono: Class Libraries
 Version: 1.0
 OS: unknown
 OS Details: 
-Status: RESOLVED   
+Status: REOPENED   
 Resolution: 
 Severity: Unknown
-Priority: Normal
+Priority: Wishlist
 Component: System
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: matze@braunis.de               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
@@ -85,6 +85,21 @@
 wx.NET?  And how to select which one?).
 
 If you really need the program to be terminated when an assertion
 fails, create a new TraceListener and override both TraceListener.Fail
 methods to call Environment.Exit.  You can then use the application
 .config file to add this listener to the Debug.Listeners collection.
+
+------- Additional Comments From matze@braunis.de  2005-01-31 09:25 -------
+Thanks for your in-depth explanations of the issues. It now makes
+sense. However I'd like to reopen this bug and request that the
+default behaviour of the DefaultTraceListener is changed to output on
+the console.
+Simply outputting to the void is VERY unintuitive and unexpected. And
+you very easily miss the MONO_TRACE stuff.
+
+PS: About GUI libraries, if I'd be the one implmenenting the stuff
+then I'd just use the console by default. The gui libraries like gtk#
+and winforms should be responsible to register their own listener in
+their init functions.
+That would keep dependencies for main mono down. And give the user a
+dialogbox matching the gui library the rest of the application is using.