public IExceptionRequest CreateExceptionRequest(IReferenceType referenceType, bool notifyCaught, bool notifyUncaught) { ReferenceType type = referenceType as ReferenceType; if ((type == null || !type.VirtualMachine.Equals(this.VirtualMachine)) && referenceType != null) { throw new VirtualMachineMismatchException(); } var request = new ExceptionRequest(VirtualMachine, type, notifyCaught, notifyUncaught); _exceptionRequests.Add(request); return(request); }
public IExceptionRequest CreateExceptionRequest(IReferenceType referenceType, bool notifyCaught, bool notifyUncaught) { ReferenceType type = referenceType as ReferenceType; if ((type == null || !type.VirtualMachine.Equals(this.VirtualMachine)) && referenceType != null) throw new VirtualMachineMismatchException(); var request = new ExceptionRequest(VirtualMachine, type, notifyCaught, notifyUncaught); _exceptionRequests.Add(request); return request; }