// Token: 0x06000119 RID: 281 RVA: 0x0000534C File Offset: 0x0000354C
        public void DeletePendingBreakpoint(PendingBreakpoint pending)
        {
            Breakpoint handle = pending.Handle;

            if (handle == null)
            {
                return;
            }
            this.Breakpoints.Remove(handle);
            this.pending_breakpoints.TryRemove(handle, out pending);
        }
Beispiel #2
0
 // Token: 0x0600004F RID: 79 RVA: 0x000031D8 File Offset: 0x000013D8
 public int CreatePendingBreakpoint(IDebugBreakpointRequest2 pBPRequest, out IDebugPendingBreakpoint2 ppPendingBP)
 {
     ppPendingBP = null;
     foreach (Process process in this.processes)
     {
         PendingBreakpoint pendingBreakpoint = process.Breakpoints.CreatePendingBreakpoint(pBPRequest);
         if (pendingBreakpoint != null)
         {
             ppPendingBP = pendingBreakpoint;
         }
     }
     if (ppPendingBP == null)
     {
         return(1);
     }
     return(0);
 }
        // Token: 0x0600011B RID: 283 RVA: 0x000053A4 File Offset: 0x000035A4
        public Breakpoint BindBreakpoint(PendingBreakpoint pending, SourceLocation location)
        {
            Breakpoint result;

            lock (this)
            {
                Breakpoint breakpoint = new Breakpoint(location.FileName, location.Line)
                {
                    HitCount                = pending.HitCount,
                    HitCountMode            = pending.HitCountMode,
                    ConditionExpression     = pending.ConditionExpression,
                    BreakIfConditionChanges = pending.BreakIfConditionChanges
                };
                this.pending_breakpoints.TryAdd(breakpoint, pending);
                this.Breakpoints.Add(breakpoint);
                result = breakpoint;
            }
            return(result);
        }
 // 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);
 }
 // Token: 0x06000114 RID: 276 RVA: 0x000051E7 File Offset: 0x000033E7
 private bool TryGetPendingBreakpoint(Breakpoint breakpoint, out PendingBreakpoint pending)
 {
     pending = null;
     return(breakpoint != null && this.pending_breakpoints.TryGetValue(breakpoint, out pending));
 }
Beispiel #6
0
 // Token: 0x06000032 RID: 50 RVA: 0x00002D4D File Offset: 0x00000F4D
 public AD7BoundBreakpoint(PendingBreakpoint pending, Breakpoint handle, Process process)
 {
     this.PendingBreakpoint = pending;
     this.Handle            = handle;
     this.Resolution        = new AD7BreakpointResolution(process);
 }
Beispiel #7
0
 // Token: 0x06000126 RID: 294 RVA: 0x0000554F File Offset: 0x0000374F
 public ErrorBreakpoint(PendingBreakpoint pending, Process process, string error_message) : this(pending, new ErrorBreakpointResolution(process, error_message))
 {
 }
Beispiel #8
0
 // Token: 0x06000125 RID: 293 RVA: 0x00005539 File Offset: 0x00003739
 public ErrorBreakpoint(PendingBreakpoint pending, ErrorBreakpointResolution error)
 {
     this.PendingBreakpoint = pending;
     this.ErrorResolution   = error;
 }