public Breakpoint(BreakpointProvider provider) { this.type = EBreakpointType.BREAKPOINT_HW; this.enabled = false; this.addr = 0; this.original_instr = 0; this.provider = provider; }
internal static BreakpointProvider CreateBreakpointProviderInternal(TextBuffer textBuffer) { if (textBuffer == null) { throw new ArgumentNullException("textBuffer"); } BreakpointProvider property = null; IPropertyOwner owner = textBuffer; if (!owner.TryGetProperty <BreakpointProvider>("BreakpointProvider", out property)) { property = new BreakpointProvider(textBuffer); owner.AddProperty("BreakpointProvider", property); } return(property); }