Exemplo n.º 1
0
        public IModificationWatchpointRequest CreateModificationWatchpointRequest(IField field)
        {
            Field internalField = field as Field;

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

            var request = new ModificationWatchpointRequest(VirtualMachine, internalField);

            _modificationWatchpointRequests.Add(request);
            return(request);
        }
Exemplo n.º 2
0
        public IModificationWatchpointRequest CreateModificationWatchpointRequest(IField field)
        {
            Field internalField = field as Field;
            if (internalField == null || !internalField.VirtualMachine.Equals(VirtualMachine))
                throw new VirtualMachineMismatchException();

            var request = new ModificationWatchpointRequest(VirtualMachine, internalField);
            _modificationWatchpointRequests.Add(request);
            return request;
        }