Exemplo n.º 1
0
 public override void Deactivate(Thread thread)
 {
     if (handle != null) {
         handle.Remove (thread);
         handle = null;
     }
 }
Exemplo n.º 2
0
        internal void Insert(Inferior inferior)
        {
            if (handle == null)
                handle = new AddressBreakpointHandle (this, address);

            handle.Insert (inferior);
        }
Exemplo n.º 3
0
 public override void Deactivate(Thread thread)
 {
     if (handle != null)
     {
         handle.Remove(thread);
         handle = null;
     }
 }
Exemplo n.º 4
0
 internal void Remove(Inferior inferior)
 {
     if (handle != null)
     {
         handle.Remove(inferior);
         handle = null;
     }
 }
Exemplo n.º 5
0
        internal void Insert(Inferior inferior)
        {
            if (handle == null)
            {
                handle = new AddressBreakpointHandle(this, address);
            }

            handle.Insert(inferior);
        }
Exemplo n.º 6
0
        internal override BreakpointHandle Resolve(Thread target, StackFrame frame)
        {
            if (handle != null)
            {
                return(handle);
            }

            switch (Type)
            {
            case EventType.Breakpoint:
                handle = new AddressBreakpointHandle(this, address);
                break;

            case EventType.WatchRead:
            case EventType.WatchWrite:
                handle = new AddressBreakpointHandle(this, address);
                break;

            default:
                throw new InternalError();
            }

            return(handle);
        }
Exemplo n.º 7
0
        internal override BreakpointHandle Resolve(Thread target, StackFrame frame)
        {
            if (handle != null)
                return handle;

            switch (Type) {
            case EventType.Breakpoint:
                handle = new AddressBreakpointHandle (this, address);
                break;

            case EventType.WatchRead:
            case EventType.WatchWrite:
                handle = new AddressBreakpointHandle (this, address);
                break;

            default:
                throw new InternalError ();
            }

            return handle;
        }
Exemplo n.º 8
0
 internal void Remove(Inferior inferior)
 {
     if (handle != null) {
         handle.Remove (inferior);
         handle = null;
     }
 }
Exemplo n.º 9
0
 internal override void OnTargetExited()
 {
     handle = null;
 }
Exemplo n.º 10
0
 internal override void OnTargetExited()
 {
     handle = null;
 }