/// <summary> /// Default ctor /// </summary> public DebugBoundBreakpoint(DebugPendingBreakpoint pendingBreakpoint, DebugBreakpointManager breakpointManager, enum_BP_TYPE type, Func <DebugBoundBreakpoint <T>, T> breakpointBuilder) { this.pendingBreakpoint = pendingBreakpoint; this.breakpointManager = breakpointManager; breakpoint = breakpointBuilder(this); resolution = new DebugBreakpointResolution(type, breakpointManager.Program); }
/// <summary> /// Notify visual studio of a bound breakpoint. /// </summary> internal void OnBound(DebugPendingBreakpoint pendingBreakpoint) { // Notify VS eventCallback.Send(Program, new BreakpointBoundEvent(pendingBreakpoint)); }
/// <summary> /// Creates a pending breakpoint in the debug engine (DE). /// </summary> public int CreatePendingBreakpoint(IDebugBreakpointRequest2 pBPRequest, out IDebugPendingBreakpoint2 ppPendingBP) { DLog.Debug(DContext.VSDebuggerComCall, "IDebugEngine2.CreatePendingBreakpoint"); ppPendingBP = new DebugPendingBreakpoint(pBPRequest, this); return VSConstants.S_OK; }
/// <summary> /// Default ctor /// </summary> public BreakpointBoundEvent(DebugPendingBreakpoint pendingBreakpoint) { this.pendingBreakpoint = pendingBreakpoint; }
/// <summary> /// Creates a pending breakpoint in the debug engine (DE). /// </summary> public int CreatePendingBreakpoint(IDebugBreakpointRequest2 pBPRequest, out IDebugPendingBreakpoint2 ppPendingBP) { DLog.Debug(DContext.VSDebuggerComCall, "IDebugEngine2.CreatePendingBreakpoint"); ppPendingBP = new DebugPendingBreakpoint(pBPRequest, this); return(VSConstants.S_OK); }