Esempio n. 1
0
 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);
     }
 }
Esempio n. 2
0
        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
            });
        }
Esempio n. 3
0
 public abstract void Bound(BindBreakpointResults res);