public Breakpoint(Debugger debugger) { IsFake = false; Disabled = false; StartColumn = 0; EndColumn = UInt16.MaxValue; _debugger = debugger; ConditionStyle = EnumBreakpointConditionStyle.None; PassCountStyle = EnumBreakpointPassCountStyle.None; }
public int SetPassCount(BP_PASSCOUNT bpPassCount) { Debug.WriteLine("AD7Breakpoint: SetPassCount"); EnumBreakpointPassCountStyle style = EnumBreakpointPassCountStyle.None; switch (bpPassCount.stylePassCount) { case enum_BP_PASSCOUNT_STYLE.BP_PASSCOUNT_EQUAL: style = EnumBreakpointPassCountStyle.Equal; break; case enum_BP_PASSCOUNT_STYLE.BP_PASSCOUNT_EQUAL_OR_GREATER: style = EnumBreakpointPassCountStyle.EqualOrGreater; break; case enum_BP_PASSCOUNT_STYLE.BP_PASSCOUNT_MOD: style = EnumBreakpointPassCountStyle.Mod; break; } CoreBreakpoint.SetPassCount(bpPassCount.dwPassCount, style); return(VSConstants.S_OK); }
public void SetPassCount(uint passCount, EnumBreakpointPassCountStyle style) { PassCount = passCount; PassCountStyle = style; HitCount = 0; }
public Breakpoint( Debugger debugger ) { IsFake = false; Disabled = false; StartColumn = 0; EndColumn = UInt16.MaxValue; _debugger = debugger; ConditionStyle = EnumBreakpointConditionStyle.None; PassCountStyle = EnumBreakpointPassCountStyle.None; }