https://bugzilla.novell.com/show_bug.cgi?id=430477

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=430477#c5





--- Comment #5 from Steve Odbc <[EMAIL PROTECTED]>  2008-09-29 08:29:53 MDT ---
Debug.Assert() is defined as follows, so as Robert said it works only if DEBUG
is defined during compilation:

[ConditionalAttribute("DEBUG")]
public static void Assert(...)

And with the MS framework I also needed to get rid of another listener before
adding mine:

Debug.Listeners.Clear();

But this was not necessary with MONO in my tests.

Debug.Assert (false, "Yo!") should work.

I can't say if you need to create the message box with the ui thread, since the
MessageBox class should be thread safe anyways. Robert seems to have a deeper
understanding of this question than I do.

Just ensure that System.Windows.Forms.Timer.Tick gets called with the ui
thread.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to