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

2011-10-28 Thread Jonathan Pryor
On Oct 27, 2011, at 1:33 PM, Steve Lessard 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

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

2011-10-27 Thread Steve Lessard
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

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

2011-10-27 Thread Nicholas Frechette
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 s_less...@yahoo.com wrote: Debug builds of my Mono command line application blow right by all