public Event InsertHardwareWatchPoint(Thread target, TargetAddress address, HardwareWatchType type) { Event handle = new AddressBreakpoint(type, address); handle.Activate(target); AddEvent(handle); return(handle); }
protected static EventType GetEventType(HardwareWatchType type) { switch (type) { case HardwareWatchType.WatchRead: return(EventType.WatchRead); case HardwareWatchType.WatchWrite: return(EventType.WatchWrite); default: throw new InternalError(); } }
internal AddressBreakpoint(HardwareWatchType type, TargetAddress address) : base(GetEventType (type), address.ToString (), ThreadGroup.Global) { this.address = address; }
protected static EventType GetEventType(HardwareWatchType type) { switch (type) { case HardwareWatchType.WatchRead: return EventType.WatchRead; case HardwareWatchType.WatchWrite: return EventType.WatchWrite; default: throw new InternalError (); } }
public Event InsertHardwareWatchPoint(Thread target, TargetAddress address, HardwareWatchType type) { Event handle = new AddressBreakpoint (type, address); handle.Activate (target); AddEvent (handle); return handle; }
internal AddressBreakpoint(HardwareWatchType type, TargetAddress address) : base(GetEventType(type), address.ToString(), ThreadGroup.Global) { this.address = address; }