IDkmBreakpointManager.EnablePendingBreakpoint Method

Definition

Sets the state of the pending breakpoint so that instances of the breakpoint that bind in the future will get hit. If the pending breakpoint is not yet enrolled, then this method will also enroll the breakpoint. Enrolling a pending breakpoint consists of attempting to resolve the breakpoint against any modules which are currently loaded and adding the breakpoint to the list of breakpoints which the breakpoint manager will bind on any module load. If the pending breakpoint is already enrolled, existing bound breakpoints will not automatically get enabled. Bound breakpoints must get enabled separately.

public:
 void EnablePendingBreakpoint(Microsoft::VisualStudio::Debugger::Breakpoints::DkmPendingBreakpoint ^ pendingBreakpoint, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmEnablePendingBreakpointAsyncResult> ^ completionRoutine);
public void EnablePendingBreakpoint (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint pendingBreakpoint, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEnablePendingBreakpointAsyncResult> completionRoutine);
abstract member EnablePendingBreakpoint : Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEnablePendingBreakpointAsyncResult> -> unit
Public Sub EnablePendingBreakpoint (pendingBreakpoint As DkmPendingBreakpoint, workList As DkmWorkList, completionRoutine As DkmCompletionRoutine(Of DkmEnablePendingBreakpointAsyncResult))

Parameters

pendingBreakpoint
DkmPendingBreakpoint

[In] High level breakpoint object which is tied to a user-level construct (ex: source file, function name) which may map to zero or more code-level constructs (DkmBoundBreakpoint) and which may be tracked over time.

workList
DkmWorkList

WorkList which is currently being processed. This value can be used to check for cancelation or to append additional work. New work items will not begin executing until after this function returns.

completionRoutine
DkmCompletionRoutine<DkmEnablePendingBreakpointAsyncResult>

Routine to fire when the request is complete. This will be implicitly fired if the implementation returns failure from this interface method. The implementation must fire this method in all other scenarios.

Applies to