Mono.Debugger.AddressBreakpoint.Activate C# (CSharp) Method

Activate() public method

public Activate ( Thread thread ) : void
thread Thread
return void
        public override void Activate(Thread thread)
        {
            Resolve (thread, thread.CurrentFrame);
            if (handle == null)
                throw new TargetException (TargetError.LocationInvalid);
            handle.Insert (thread);
        }

Usage Example

示例#1
0
        public Event InsertHardwareWatchPoint(Thread target, TargetAddress address,
                                              HardwareWatchType type)
        {
            Event handle = new AddressBreakpoint(type, address);

            handle.Activate(target);
            AddEvent(handle);
            return(handle);
        }
All Usage Examples Of Mono.Debugger.AddressBreakpoint::Activate