Don't forget to register a listener. System.Diagnostics.Debug.Listeners.Add (new System.Diagnostics.ConsoleTraceListener());
Cheers, Nicholas On Thu, Oct 27, 2011 at 1:33 PM, Steve Lessard <[email protected]> wrote: > 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 > > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
