// Token: 0x0600011A RID: 282 RVA: 0x00005380 File Offset: 0x00003580
 public void DeleteBoundBreakpoint(AD7BoundBreakpoint bound)
 {
     if (bound.PendingBreakpoint.BoundBreakpoints.Contains(bound))
     {
         this.DeletePendingBreakpoint(bound.PendingBreakpoint);
     }
 }
 // Token: 0x0600009D RID: 157 RVA: 0x00003937 File Offset: 0x00001B37
 public BreakpointEvent(Thread thread, AD7BoundBreakpoint bound) : base(thread, new Guid("501C1E21-C557-48B8-BA30-A1EAB0BC4A74"))
 {
     this.boundBreakpoints = new AD7BoundBreakpointsEnum(new IDebugBoundBreakpoint2[]
     {
         bound
     });
 }
        // Token: 0x06000117 RID: 279 RVA: 0x000052C0 File Offset: 0x000034C0
        private void OnBreakpointStatusChanged(object sender, BreakpointEventArgs args)
        {
            Breakpoint        breakpoint = args.Breakpoint;
            PendingBreakpoint pendingBreakpoint;

            if (this.TryGetPendingBreakpoint(args.Breakpoint, out pendingBreakpoint))
            {
                BreakEventStatus   status = args.Breakpoint.GetStatus(this.session);
                AD7BoundBreakpoint bound;
                if (status == BreakEventStatus.Bound)
                {
                    if (!BreakpointsAdapter.TryGetBoundBreakpoint(breakpoint, pendingBreakpoint, out bound))
                    {
                        bound = new AD7BoundBreakpoint(pendingBreakpoint, args.Breakpoint, this.process);
                        pendingBreakpoint.OnBreakpointBound(bound);
                        return;
                    }
                }
                else if (BreakpointsAdapter.TryGetBoundBreakpoint(breakpoint, pendingBreakpoint, out bound))
                {
                    pendingBreakpoint.OnBreakpointUnbound(bound);
                }
            }
        }
 // Token: 0x06000115 RID: 277 RVA: 0x000051FE File Offset: 0x000033FE
 private static bool TryGetBoundBreakpoint(Breakpoint breakpoint, PendingBreakpoint pending, out AD7BoundBreakpoint bound)
 {
     bound = pending.BoundBreakpoints.FirstOrDefault <AD7BoundBreakpoint>();
     return(bound != null);
 }
Ejemplo n.º 5
0
 // Token: 0x060000D1 RID: 209 RVA: 0x00004382 File Offset: 0x00002582
 internal void OnBreakpointUnbound(AD7BoundBreakpoint bound)
 {
     this.BoundBreakpoints.Remove(bound);
     this.eventSender.SendEvent(new BreakpointUnboundEvent(bound));
 }
Ejemplo n.º 6
0
 // Token: 0x06000098 RID: 152 RVA: 0x000038E8 File Offset: 0x00001AE8
 public BreakpointUnboundEvent(AD7BoundBreakpoint bound) : base(new Guid("78d1db4f-c557-4dc5-a2dd-5369d21b1c8c"))
 {
     this.boundBreakpoint = bound;
 }
Ejemplo n.º 7
0
 // Token: 0x06000095 RID: 149 RVA: 0x000038A6 File Offset: 0x00001AA6
 public BreakpointBoundEvent(AD7BoundBreakpoint bound) : base(new Guid("1dddb704-cf99-4b8a-b746-dabb01dd13a0"))
 {
     this.boundBreakpoint = bound;
 }