Exemple #1
0
 public StepperEventArgs(RuntimeAppDomain domain, RuntimeThread thread, SourceStepper stepper)
     : base(domain, false)
 {
     Domain  = domain;
     Thread  = thread;
     Stepper = stepper;
 }
        public SourceStepper CreateStepper()
        {
            ICorDebugStepper comStepper;

            _comFrame.CreateStepper(out comStepper);

            var stepper = Function.Module.Assembly.Domain.GetStepper(comStepper);

            if (stepper == null)
            {
                Function.Module.Assembly.Domain.AddStepper(stepper = new SourceStepper(Thread, comStepper));
            }

            return(stepper);
        }
 internal void RemoveStepper(SourceStepper stepper)
 {
     _steppers.Remove(stepper.ComStepper);
 }
 internal void AddStepper(SourceStepper stepper)
 {
     _steppers.Add(stepper.ComStepper, stepper);
 }
 public StepperEventArgs(RuntimeAppDomain domain, RuntimeThread thread, SourceStepper stepper)
     : base(domain, false)
 {
     Domain = domain;
     Thread = thread;
     Stepper = stepper;
 }
 internal void RemoveStepper(SourceStepper stepper)
 {
     _steppers.Remove(stepper.ComStepper);
 }
 internal void AddStepper(SourceStepper stepper)
 {
     _steppers.Add(stepper.ComStepper, stepper);
 }
        public SourceStepper CreateStepper()
        {
            ICorDebugStepper comStepper;
            _comFrame.CreateStepper(out comStepper);

            var stepper = Function.Module.Assembly.Domain.GetStepper(comStepper);
            if (stepper == null)
                Function.Module.Assembly.Domain.AddStepper(stepper = new SourceStepper(Thread, comStepper));
            
            return stepper;
        }