Exemple #1
0
 // Token: 0x060000D7 RID: 215 RVA: 0x00004566 File Offset: 0x00002766
 public int EnumErrorBreakpoints(enum_BP_ERROR_TYPE bpErrorType, out IEnumDebugErrorBreakpoints2 ppEnum)
 {
     if (this.error_breakpoint != null)
     {
         ppEnum = new AD7ErrorBreakpointsEnum(new IDebugErrorBreakpoint2[]
         {
             this.error_breakpoint
         });
     }
     else
     {
         ppEnum = new AD7ErrorBreakpointsEnum(new IDebugErrorBreakpoint2[0]);
     }
     return(0);
 }
Exemple #2
0
 // Token: 0x060000D2 RID: 210 RVA: 0x000043A4 File Offset: 0x000025A4
 public int CanBind(out IEnumDebugErrorBreakpoints2 error_breakpoints)
 {
     if (this.error_breakpoint != null)
     {
         error_breakpoints = new AD7ErrorBreakpointsEnum(new IDebugErrorBreakpoint2[]
         {
             this.error_breakpoint
         });
         return(1);
     }
     if (this.Request.LocationType == enum_BP_LOCATION_TYPE.BPLT_CODE_FILE_LINE)
     {
         if ((this.Request.RequestInfo.dwFields & enum_BPREQI_FIELDS.BPREQI_BPLOCATION) == 0)
         {
             this.error_breakpoint = new ErrorBreakpoint(this, this.process, "Breakpoints of this type are not supported.");
             error_breakpoints     = new AD7ErrorBreakpointsEnum(new IDebugErrorBreakpoint2[]
             {
                 this.error_breakpoint
             });
             return(1);
         }
         error_breakpoints = null;
         return(0);
     }
     else
     {
         if (this.Request.LocationType == enum_BP_LOCATION_TYPE.BPLT_CODE_FUNC_OFFSET)
         {
             this.error_breakpoint = new ErrorBreakpoint(this, this.process, "Function breakpoints are not supported yet, see bug #673920.");
             error_breakpoints     = new AD7ErrorBreakpointsEnum(new IDebugErrorBreakpoint2[]
             {
                 this.error_breakpoint
             });
             return(1);
         }
         error_breakpoints = null;
         return(0);
     }
 }