[Mono-devel-list] GUI Toolkits

Mike Kestner mkestner at novell.com
Thu May 5 12:26:46 EDT 2005


On Wed, 2005-05-04 at 22:29 -0400, Thomas Harning Jr. wrote:

> About Gtk#... is there anything that I can do to prevent this
> exceptions?

Yes, you can file bug reports with the complete exception trace.
Sending an email to a list with no more detail than "Gtk# likes to throw
NullRefExceptions" doesn't help much.

>   I'm not sure what MonoDevelop's doing in the background and the UI
> code looks split throughout... so I wouldn't know where to look for
> problems (besides the fact that crashes seem extremely
> non-deterministic).

The exception trace tells you exactly where to look.

> I've seen with sending delegates that you have to keep an instance in
> managed code if you're going to send it off to unmanaged realm as a
> function pointer [ex: for Tao.FreeGlut], which is a minor pain... but
> will certainly be worth it if I can use Gtk# in my apps.

This is not necessary for the most part in Gtk# trunk any more.  If
there are still places where crashes occur because of released
delegates, they should be reported as bugs.

-- 
Mike Kestner <mkestner at novell.com>




More information about the Mono-devel-list mailing list