コード例 #1
0
        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);
        }
コード例 #2
0
        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;
        }