Mono.Debugger.Frontend.Command.Execute C# (CSharp) Method

Execute() public abstract method

public abstract Execute ( Interpreter interpreter ) : object
interpreter Interpreter
return object
        public abstract object Execute(Interpreter interpreter);

Usage Example

		void ExecuteCommand(Command command)
		{
			AbortBackgroudThread();
			
			try {
				command.Execute(engine);
			} catch(ThreadAbortException) {
			} catch(ScriptingException ex) {
				interpreter.Error(ex);
			} catch(TargetException ex) {
				interpreter.Error(ex);
			} catch(Exception ex) {
				interpreter.Error("Caught exception while executing command {0}: {1}", engine, ex);
			}
			
			NotifyStateChange();
		}
All Usage Examples Of Mono.Debugger.Frontend.Command::Execute