public Wrappers.CorDebug.ICorDebugStepper CreateStepper()
 {
     Wrappers.CorDebug.ICorDebugStepper ppStepper;
     Interop.CorDebug.ICorDebugStepper  out_ppStepper;
     this.WrappedObject.CreateStepper(out out_ppStepper);
     ppStepper = ICorDebugStepper.Wrap(out_ppStepper);
     return(ppStepper);
 }
        public Stepper(Function function)
        {
            this.function = function;

            corStepper = function.CorILFrame.CreateStepper();

            JustMyCode = true;

            function.Thread.Steppers.Add(this);
        }
Пример #3
0
 internal Stepper GetStepper(ICorDebugStepper corStepper)
 {
     foreach (Stepper stepper in steppers)
     {
         if (stepper.IsCorStepper(corStepper))
         {
             return(stepper);
         }
     }
     throw new DebuggerException("Stepper is not in collection");
 }
 internal bool IsCorStepper(ICorDebugStepper corStepper)
 {
     return(this.corStepper == corStepper);
 }