Author: martin
Date: 2006-04-03 12:55:42 -0400 (Mon, 03 Apr 2006)
New Revision: 58961

Modified:
   trunk/debugger/frontend/Command.cs
Log:
More killing ....

Modified: trunk/debugger/frontend/Command.cs
===================================================================
--- trunk/debugger/frontend/Command.cs  2006-04-03 16:54:19 UTC (rev 58960)
+++ trunk/debugger/frontend/Command.cs  2006-04-03 16:55:42 UTC (rev 58961)
@@ -84,6 +84,7 @@
        public abstract class DebuggerCommand : Command
        {
                protected bool Repeating;
+               private bool Error;
                private ScriptingContext context;
 
                public override string Execute (Engine e)
@@ -91,11 +92,13 @@
                        DebuggerEngine engine = (DebuggerEngine) e;
 
                        try {
-                               if (!Repeating) {
+                               if (!Repeating || Error) {
                                        context = new ScriptingContext 
(engine.Interpreter);
 
-                                       if (!Resolve (context))
+                                       if (!Resolve (context)) {
+                                               Error = true;
                                                return null;
+                                       }
                                }
 
                                Execute (context);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to