public void Add(int address, int length, byte[] memory) { var newBreakpoint = new DataBreakpoint(address, length); newBreakpoint.UpdateFromMemory(memory); breakpoints.Add(newBreakpoint); }
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); } }
public bool Exists(int address, int length) { var tempBreakpoint = new DataBreakpoint(address, length); return(breakpoints.Contains(tempBreakpoint)); }
public void Remove(int address, int length) { var tempBreakpoint = new DataBreakpoint(address, length); breakpoints.Remove(tempBreakpoint); }
public void Add(int address, int length) { var newBreakpoint = new DataBreakpoint(address, length); breakpoints.Add(newBreakpoint); }