Exemple #1
0
        public IAccessWatchpointRequest CreateAccessWatchpointRequest(IField field)
        {
            Field internalField = field as Field;

            if (internalField == null || !internalField.VirtualMachine.Equals(VirtualMachine))
            {
                throw new VirtualMachineMismatchException();
            }

            var request = new AccessWatchpointRequest(VirtualMachine, internalField);

            _accessWatchpointRequests.Add(request);
            return(request);
        }
        public IAccessWatchpointRequest CreateAccessWatchpointRequest(IField field)
        {
            Field internalField = field as Field;
            if (internalField == null || !internalField.VirtualMachine.Equals(VirtualMachine))
                throw new VirtualMachineMismatchException();

            var request = new AccessWatchpointRequest(VirtualMachine, internalField);
            _accessWatchpointRequests.Add(request);
            return request;
        }