// <summary> // Continue until leaving the current method. // </summary> public ThreadCommandResult Finish(bool native) { lock (this) { check_alive(); if (!native) { if (CurrentMethod == null) { throw new TargetException(TargetError.NoMethod); } StepFrame step_frame = new StepFrame( null, StepMode.Finish, null, CurrentMethod.StartAddress, CurrentMethod.EndAddress); return(Old_Step(StepMode.Finish, step_frame)); } else { StepFrame step_frame = new StepFrame( null, StepMode.FinishNative, CurrentFrame.StackPointer); return(Old_Step(StepMode.FinishNative, step_frame)); } } }
ThreadCommandResult Old_Step(StepMode mode, StepFrame frame) { lock (this) { check_alive(); return(servant.Old_Step(mode, frame)); } }
public CommandResult Step(ThreadingModel model, StepMode mode, StepFrame frame) { lock (this) { check_alive(); return(servant.Step(model, mode, frame)); } }
ThreadCommandResult Old_Step(StepMode mode, StepFrame frame) { lock (this) { check_alive (); return servant.Old_Step (mode, frame); } }
public CommandResult Step(ThreadingModel model, StepMode mode, StepFrame frame) { lock (this) { check_alive (); return servant.Step (model, mode, frame); } }
// <summary> // Continue until leaving the current method. // </summary> public ThreadCommandResult Finish(bool native) { lock (this) { check_alive (); if (!native) { if (CurrentMethod == null) throw new TargetException (TargetError.NoMethod); StepFrame step_frame = new StepFrame ( null, StepMode.Finish, null, CurrentMethod.StartAddress, CurrentMethod.EndAddress); return Old_Step (StepMode.Finish, step_frame); } else { StepFrame step_frame = new StepFrame ( null, StepMode.FinishNative, CurrentFrame.StackPointer); return Old_Step (StepMode.FinishNative, step_frame); } } }