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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 29 Jan 2005 12:38:52 -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-29 12:38:52.000000000 -0500
+++ shadow/71947.tmp.29798	2005-01-29 12:38:52.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 71947
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: matze@braunis.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Debug.Assert not working out of the box
+
+The Debug.Assert function isn't fully implemented at the moment. It seems
+to correctly call all registered listeners in case the condition is false.
+But there are 2 problems with that:
+
+1. The program isn't aborted after the listeners have been called.
+2. There's no listener registered by default. There should be a listener
+which displays something on stderr.
+
+So in effect your application will just continue silently which isn't
+really what assert should do.