IDkmBreakpointConditionProcessor.SetHitCountCondition Method

Definition

Initialize or update the hit count condition/value on a breakpoint. If the same breakpoint has both a language-level condition, and a hit count condition, the language-level condition is applied first. The condition is implicitly removed if the DkmRuntimeBreakpoint is closed.

public:
 void SetHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmRuntimeBreakpoint ^ runtimeBreakpoint, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ condition, int hitCountValue);
public void SetHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint runtimeBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition condition, int hitCountValue);
abstract member SetHitCountCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmRuntimeBreakpoint * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition * int -> unit
Public Sub SetHitCountCondition (runtimeBreakpoint As DkmRuntimeBreakpoint, condition As DkmBreakpointHitCountCondition, hitCountValue As Integer)

Parameters

runtimeBreakpoint
DkmRuntimeBreakpoint

[In] Low-level breakpoint object which is supported by debug monitors.

condition
DkmBreakpointHitCountCondition

[In] Condition to apply to this breakpoint.

hitCountValue
Int32

[In] The initial value of the breakpoint's hit count. A value of -1/MAXDWORD indicates that the current hit count value should be preserved.

Applies to