public IBreakpointRequest CreateBreakpointRequest(ILocation location) { Location internalLocation = location as Location; if (internalLocation == null || !internalLocation.VirtualMachine.Equals(VirtualMachine)) { throw new VirtualMachineMismatchException(); } var request = new BreakpointRequest(VirtualMachine, internalLocation); _breakpointRequests.Add(request); return(request); }
public IBreakpointRequest CreateBreakpointRequest(ILocation location) { Location internalLocation = location as Location; if (internalLocation == null || !internalLocation.VirtualMachine.Equals(VirtualMachine)) throw new VirtualMachineMismatchException(); var request = new BreakpointRequest(VirtualMachine, internalLocation); _breakpointRequests.Add(request); return request; }