private Stepper(StackFrame stackFrame, StepperOperation operation, int[] stepRanges, string name, bool justMyCode) { this.stackFrame = stackFrame; this.operation = operation; this.stepRanges = stepRanges; this.name = name; this.corStepper = stackFrame.CorILFrame.CreateStepper(); this.ignore = false; this.StackFrame.Process.Steppers.Add(this); if (justMyCode) { corStepper.SetUnmappedStopMask(CorDebugUnmappedStop.STOP_NONE); ((ICorDebugStepper2)corStepper).SetJMC(1); } }
private Stepper(StackFrame stackFrame, StepperOperation operation, int[] stepRanges, string name, bool justMyCode) { this.stackFrame = stackFrame; this.operation = operation; this.stepRanges = stepRanges; this.name = name; this.corStepper = stackFrame.CorILFrame.CreateStepper(); this.ignore = false; this.StackFrame.Thread.Steppers.Add(this); if (justMyCode) { corStepper.SetUnmappedStopMask(CorDebugUnmappedStop.STOP_NONE); corStepper.CastTo <ICorDebugStepper2>().SetJMC(1); } }
public void StepOut() { operation = StepperOperation.StepOut; JustMyCode = false; // Needed for multiple events. See docs\Stepping.txt corStepper.StepOut(); }
public void StepOver(int[] ranges) { operation = StepperOperation.StepOver; corStepper.StepRange(false /* step over */, ranges); }
public void StepIn(int[] ranges) { operation = StepperOperation.StepIn; corStepper.StepRange(true /* step in */, ranges); }
public void StepOut() { operation = StepperOperation.StepOut; JustMyCode = false; // Needed for multiple events. See docs\Stepping.txt corStepper.StepOut(); }
public void StepOver(int[] ranges) { operation = StepperOperation.StepOver; corStepper.StepRange(false /* step over */, ranges); }
public void StepIn(int[] ranges) { operation = StepperOperation.StepIn; corStepper.StepRange(true /* step in */, ranges); }