[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)

Michael Fasolino Michael_Fasolino at raytheon.com
Tue Jun 12 11:03:52 EDT 2007


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 <Michael_Fasolino at raytheon.com> 
Sent by: gtk-sharp-list-bounces at lists.ximian.com
06/07/2007 02:08 PM

gtk-sharp-list at ximian.com

[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 <Model>.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’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  -  Gtk-sharp-list at lists.ximian.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20070612/a75efa85/attachment-0001.html 

More information about the Gtk-sharp-list mailing list