[Mono-list] System.Diagnostics.Debug.Assert()

Steve Lessard s_lessard at yahoo.com
Thu Oct 27 13:33:09 EDT 2011


Debug builds of my Mono command line application blow right by all 
Debug.Assert statements, even the ones I know fail the assertion. Heck, 
even Debug.Assert(false, "Foo") gets ignored.  Neither running 
standalone on the command line via Terminal.app nor running in 
MonoDevelop's debugger makes a difference; the asserts are always 
ignored.  I've checked, double-checked, and even triple checked that I 
am created Debug builds. Is there any way to force Mono to honor the 
asserts?

-SteveL

p.s. I'm running Mono 2.10.6 and MonoDevelop 2.8.1 on OS X 10.5.7
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20111027/0ba9b810/attachment.html 


More information about the Mono-list mailing list