[Mono-bugs] [Bug 430477] Debug.Assert() does not work in winform apps

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 28 08:42:08 EDT 2008


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

User awunwpa7 at yahoo.com.ph added comment
https://bugzilla.novell.com/show_bug.cgi?id=430477#c2


Steve Odbc <awunwpa7 at yahoo.com.ph> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
 Attachment #242119|0                                               |1
        is obsolete|                                                |




--- Comment #2 from Steve Odbc <awunwpa7 at yahoo.com.ph>  2008-09-28 06:42:08 MDT ---
Created an attachment (id=242122)
 --> (https://bugzilla.novell.com/attachment.cgi?id=242122)
bugfree gui listener code

When testing my code I found two bugs:

The first one was my own, so I updated my attached code.

The second one was, that while the message box of the debug assertion was
displayed, a timer fired in the gui. I have to say: In some functions I test if
it is really the gui thread that operates. And at this point my code threw an
exception. So MONO had called my OnTimer() function with a non-gui thread,
right while the debug assertion message box was displayed. This did not happen
with any regular message box, so it might have something to do with the trace
listener being blocked by a message box.

I field bug #430483.


-- 
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.


More information about the mono-bugs mailing list