public void Bound(BindBreakpointResults result) { if (result == BindBreakpointResults.OK) { _boundBreakpoint = new AD7BoundBreakpoint(_engine, this); _errorBreakpoint = null; _engine.Callback.BoundBreakpoint(this); } else { _errorBreakpoint = new AD7ErrorBreakpoint(_engine, this); _boundBreakpoint = null; _engine.Callback.ErrorBreakpoint(_errorBreakpoint); } }
public override void Bound(BindBreakpointResults res) { switch (res) { case BindBreakpointResults.OK: bp.Verified = true; break; case BindBreakpointResults.CodeNotFound: case BindBreakpointResults.TypeNotFound: bp.Verified = false; bp.Message = "Code not loaded"; break; } debugged.Adapter.Protocol.SendEvent(new BreakpointEvent() { Breakpoint = bp, Reason = BreakpointEvent.ReasonValue.Changed }); }
public abstract void Bound(BindBreakpointResults res);