/// <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));
 }
Example #3
0
 /// <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;
 }
Example #4
0
 /// <summary>
 /// Default ctor
 /// </summary>
 public BreakpointBoundEvent(DebugPendingBreakpoint pendingBreakpoint)
 {
     this.pendingBreakpoint = pendingBreakpoint;
 }
 /// <summary>
 /// Notify visual studio of a bound breakpoint.
 /// </summary>
 internal void OnBound(DebugPendingBreakpoint pendingBreakpoint)
 {
     // Notify VS
     eventCallback.Send(Program, new BreakpointBoundEvent(pendingBreakpoint));
 }
Example #6
0
 /// <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);
 }