[Monodevelop-patches-list] r1090 - in trunk/MonoDevelop: . src/Main/Base/Services

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Wed Mar 3 15:03:35 EST 2004


Author: mkestner
Date: 2004-03-03 15:03:35 -0500 (Wed, 03 Mar 2004)
New Revision: 1090

Modified:
   trunk/MonoDevelop/ChangeLog
   trunk/MonoDevelop/src/Main/Base/Services/DebuggingService.cs
Log:
2004-03-03  Mike Kestner  <mkestner at ximian.com>

	* Main/Base/Services/DebuggingService.cs (UnloadService): kill
	running debugger instances on unload.



Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog	2004-03-03 19:52:44 UTC (rev 1089)
+++ trunk/MonoDevelop/ChangeLog	2004-03-03 20:03:35 UTC (rev 1090)
@@ -1,5 +1,10 @@
-2004-03-04  Mike Kestner  <mkestner at ximian.com>
+2004-03-03  Mike Kestner  <mkestner at ximian.com>
 
+	* Main/Base/Services/DebuggingService.cs (UnloadService): kill
+	running debugger instances on unload.
+
+2004-03-03  Mike Kestner  <mkestner at ximian.com>
+
 	* Main/Base/Services/DebuggingService.cs (Run): ignore if running
 
 2004-03-03 John BouAntoun  <jba-mono at optusnet.com.au>

Modified: trunk/MonoDevelop/src/Main/Base/Services/DebuggingService.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Services/DebuggingService.cs	2004-03-03 19:52:44 UTC (rev 1089)
+++ trunk/MonoDevelop/src/Main/Base/Services/DebuggingService.cs	2004-03-03 20:03:35 UTC (rev 1090)
@@ -25,6 +25,14 @@
 		{
 		}
 		
+		public override void UnloadService ()
+		{
+			if (Debugging)
+				proc.Kill ();
+
+			base.UnloadService ();
+		}
+
 		private bool Debugging {
 			get {
 				return backend != null && proc != null && proc.HasTarget;




More information about the Monodevelop-patches-list mailing list