コード例 #1
0
 public CommandResult StartExecedChild(CommandResult result)
 {
     engine_stopped = false;
     current_operation = new OperationStart (this, result);
     current_operation.Execute ();
     return result;
 }
コード例 #2
0
 public CommandResult StartThread(CommandResult result)
 {
     engine_stopped = false;
     current_operation = new OperationStep (this, StepMode.Run, result);
     current_operation.Execute ();
     return current_operation.Result;
 }
コード例 #3
0
        void ExecuteOperation(Operation operation)
        {
            try {
                check_inferior ();

                InterruptibleOperation iop = operation as InterruptibleOperation;
                if ((iop != null) && iop.IsSuspended) {
                    iop.IsSuspended = false;
                    do_continue ();
                    return;
                } else {
                    operation.Execute ();
                }
            } catch (Exception ex) {
                Report.Debug (DebugFlags.SSE, "{0} caught exception while " +
                          "processing operation {1}: {2}", this, operation, ex);
                operation.Result.Result = ex;
                OperationCompleted (null);
            }
        }