IDkmBreakpointManager.SetPendingBreakpointHitCountCondition Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize, update or clear the hit count condition on all bound breakpoints of this pending breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first.
Note that the hit count condition acts independently on each bound breakpoint, rather than being aggregated together on the pending breakpoint. For example, if the hit count is configured to stop at hit #2, and the breakpoint to two separate locations, each of which hit the breakpoint once, the UI will still not have gone into break mode because neither individual bound breakpoint has hit twice.
public:
void SetPendingBreakpointHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmPendingBreakpoint ^ pendingBreakpoint, Microsoft::VisualStudio::Debugger::DkmWorkList ^ workList, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ condition, Microsoft::VisualStudio::Debugger::DkmCompletionRoutine<Microsoft::VisualStudio::Debugger::Breakpoints::DkmSetPendingBreakpointHitCountConditionAsyncResult> ^ completionRoutine);
public void SetPendingBreakpointHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint pendingBreakpoint, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition condition, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetPendingBreakpointHitCountConditionAsyncResult> completionRoutine);
public void SetPendingBreakpointHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint pendingBreakpoint, Microsoft.VisualStudio.Debugger.DkmWorkList workList, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition? condition, Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetPendingBreakpointHitCountConditionAsyncResult> completionRoutine);
abstract member SetPendingBreakpointHitCountCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmPendingBreakpoint * Microsoft.VisualStudio.Debugger.DkmWorkList * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition * Microsoft.VisualStudio.Debugger.DkmCompletionRoutine<Microsoft.VisualStudio.Debugger.Breakpoints.DkmSetPendingBreakpointHitCountConditionAsyncResult> -> unit
Public Sub SetPendingBreakpointHitCountCondition (pendingBreakpoint As DkmPendingBreakpoint, workList As DkmWorkList, condition As DkmBreakpointHitCountCondition, completionRoutine As DkmCompletionRoutine(Of DkmSetPendingBreakpointHitCountConditionAsyncResult))
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.
- condition
- DkmBreakpointHitCountCondition
[In,Optional] Condition to apply to this breakpoint. This value may be 'null' if the caller wishes to remove the condition.
- completionRoutine
- DkmCompletionRoutine<DkmSetPendingBreakpointHitCountConditionAsyncResult>
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.