Freigeben über


IDkmBreakpointManager.GetBoundBreakpointHitCountValue Method

Definition

Returns the number of times that a bound breakpoint has been hit. This value should not include any times when the breakpoint's instruction was executed, but the breakpoint's condition indicated that the debugger should not stop.

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

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

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