mail-archives/gtk-sharp-list/2007-June/008098.html

112 строки
4.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Strange%20Tree%20Model%20behavior%20%28Multi-Threading%29&In-Reply-To=OF43C79107.70740B2A-ON862572F3.0068CB12-862572F3.00693071%40mck.us.ray.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="008095.html">
<LINK REL="Next" HREF="008099.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)</H1>
<B>Michael Fasolino</B>
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Strange%20Tree%20Model%20behavior%20%28Multi-Threading%29&In-Reply-To=OF43C79107.70740B2A-ON862572F3.0068CB12-862572F3.00693071%40mck.us.ray.com"
TITLE="[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)">Michael_Fasolino at raytheon.com
</A><BR>
<I>Tue Jun 12 11:03:52 EDT 2007</I>
<P><UL>
<LI>Previous message: <A HREF="008095.html">[Gtk-sharp-list] Strange Tree Model behavior
</A></li>
<LI>Next message: <A HREF="008099.html">[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8098">[ date ]</a>
<a href="thread.html#8098">[ thread ]</a>
<a href="subject.html#8098">[ subject ]</a>
<a href="author.html#8098">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>All,
Upon further exploration this seems to be a Multi-Threading problem as the
GetValue calls are work fine while debugging until I kick off a second
thread. I am still stumped as to why this will not work while I am
debugging and work fine while I am running with without debugging. I have
gone through the multithreading tutorial on the Mono page and it looks
like I am setting everything up the same as suggested.
Does anyone have any ideas?
Thanks in advance.
Michael Fasolino &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Michael_Fasolino at raytheon.com</A>&gt;
Sent by: <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">gtk-sharp-list-bounces at lists.ximian.com</A>
06/07/2007 02:08 PM
To
<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">gtk-sharp-list at ximian.com</A>
cc
Subject
[Gtk-sharp-list] Strange Tree Model behavior
This seems really weird to me, but if figured that I would throw it out
and see if anyone else had seen anything like it. I am using Visual
Studio 2005 for my development environment. When I run my program in
debug mode the &lt;Model&gt;.GetValue calls seems to all return null. I am not
sure if the problem is with the models or with the GetValue function. Is
there an easy way to view a model&#8217;s contents when debugging without using
the GetValue function?
I am at a loss as to what would be causing this. When I run the program
without debugging everything works fine.
Any help would be appreciated! Thanks!
Michael _______________________________________________
Gtk-sharp-list maillist - <A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">Gtk-sharp-list at lists.ximian.com</A>
<A HREF="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">http://lists.ximian.com/mailman/listinfo/gtk-sharp-list</A>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <A HREF="http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070612/a75efa85/attachment-0001.html">http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070612/a75efa85/attachment-0001.html</A>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="008095.html">[Gtk-sharp-list] Strange Tree Model behavior
</A></li>
<LI>Next message: <A HREF="008099.html">[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#8098">[ date ]</a>
<a href="thread.html#8098">[ thread ]</a>
<a href="subject.html#8098">[ subject ]</a>
<a href="author.html#8098">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
mailing list</a><br>
</body></html>