[Monodevelop-patches-list] r2493 - in trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn: . Gui/Pads

Lluis Sanchez <lluis@ximian.com> lluis at mono-cvs.ximian.com
Thu Apr 28 19:46:53 EDT 2005


Author: lluis
Date: 2005-04-28 19:46:53 -0400 (Thu, 28 Apr 2005)
New Revision: 2493

Modified:
   trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog
   trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/Pads/ThreadPad.cs
Log:
2005-04-28  Lluis Sanchez Gual  <lluis at novell.com>

	* Gui/Pads/ThreadPad.cs: Actually remove threads with no target.



Modified: trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog	2005-04-28 22:31:55 UTC (rev 2492)
+++ trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/ChangeLog	2005-04-28 23:46:53 UTC (rev 2493)
@@ -1,3 +1,7 @@
+2005-04-28  Lluis Sanchez Gual  <lluis at novell.com>
+
+	* Gui/Pads/ThreadPad.cs: Actually remove threads with no target.
+
 2005-04-28  Chris Toshok  <toshok at ximian.com>
 
 	* DebugAttributeHandler.cs

Modified: trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/Pads/ThreadPad.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/Pads/ThreadPad.cs	2005-04-28 22:31:55 UTC (rev 2492)
+++ trunk/MonoDevelop/Core/src/AddIns/DebuggerAddIn/Gui/Pads/ThreadPad.cs	2005-04-28 23:46:53 UTC (rev 2493)
@@ -139,9 +139,7 @@
 			}
 
 			foreach (Process t in ((DebuggingService)Runtime.DebuggingService).Threads) {
-				if (t.State == TargetState.NO_TARGET)
-					threads_to_remove.Remove (t);
-				else if (!t.IsDaemon) {
+				if (t.State != TargetState.NO_TARGET && !t.IsDaemon) {
 					UpdateThread (t);
 					threads_to_remove.Remove (t);
 				}




More information about the Monodevelop-patches-list mailing list