Udostępnij za pośrednictwem


IDkmBreakpointManager.EnableBoundBreakpoint Method

Definition

Enables the bound breakpoint so that it can be hit. If the bound breakpoint is already enabled, this operation has no effect.

public:
 void EnableBoundBreakpoint(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBoundBreakpoint ^ boundBreakpoint, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmEnableBoundBreakpointAsyncResult> ^ completionRoutine);
public void EnableBoundBreakpoint (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint boundBreakpoint, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEnableBoundBreakpointAsyncResult> completionRoutine);
abstract member EnableBoundBreakpoint : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmEnableBoundBreakpointAsyncResult> -> unit
Public Sub EnableBoundBreakpoint (boundBreakpoint As DkmBoundBreakpoint, workList As DkmWorkList, completionRoutine As DkmCompletionRoutine(Of DkmEnableBoundBreakpointAsyncResult))

Parameters

boundBreakpoint
DkmBoundBreakpoint

[In] Represents a breakpoint which has been bound (resolved) to a particular code instruction address or a particular data element. For example, in C++ templates one could create a DkmPendingBreakpoint for a source line. The breakpoint manager would resolve it to zero (ex: module not loaded), one (ex: template is only used on 'int') or many (ex: template is used with many template arguments) location. Each location would have a DkmBoundBreakpoint object.

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<DkmEnableBoundBreakpointAsyncResult>

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