Beispiel #1
0
        public void Add(int address, int length, byte[] memory)
        {
            var newBreakpoint = new DataBreakpoint(address, length);

            newBreakpoint.UpdateFromMemory(memory);
            breakpoints.Add(newBreakpoint);
        }
Beispiel #2
0
        public void Toggle(int address, int length, byte[] memory)
        {
            var tempBreakpoint = new DataBreakpoint(address, length);

            if (breakpoints.Contains(tempBreakpoint))
            {
                Remove(address, length);
            }
            else
            {
                Add(address, length, memory);
            }
        }
Beispiel #3
0
        public bool Exists(int address, int length)
        {
            var tempBreakpoint = new DataBreakpoint(address, length);

            return(breakpoints.Contains(tempBreakpoint));
        }
Beispiel #4
0
        public void Remove(int address, int length)
        {
            var tempBreakpoint = new DataBreakpoint(address, length);

            breakpoints.Remove(tempBreakpoint);
        }
Beispiel #5
0
        public void Add(int address, int length)
        {
            var newBreakpoint = new DataBreakpoint(address, length);

            breakpoints.Add(newBreakpoint);
        }