Udostępnij za pośrednictwem


IDkmBreakpointManager.SetBoundBreakpointHitCountCondition Method

Definition

Initialize, update or clear the hit count condition 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.

public:
 void SetBoundBreakpointHitCountCondition(Microsoft::VisualStudio::Debugger::Breakpoints::DkmBoundBreakpoint ^ boundBreakpoint, Microsoft::VisualStudio::Debugger::Breakpoints::DkmBreakpointHitCountCondition ^ condition);
public void SetBoundBreakpointHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint boundBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition condition);
public void SetBoundBreakpointHitCountCondition (Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint boundBreakpoint, Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition? condition);
abstract member SetBoundBreakpointHitCountCondition : Microsoft.VisualStudio.Debugger.Breakpoints.DkmBoundBreakpoint * Microsoft.VisualStudio.Debugger.Breakpoints.DkmBreakpointHitCountCondition -> unit
Public Sub SetBoundBreakpointHitCountCondition (boundBreakpoint As DkmBoundBreakpoint, condition As DkmBreakpointHitCountCondition)

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.

condition
DkmBreakpointHitCountCondition

[In,Optional] Condition to apply to this breakpoint. This value may be 'null' if the caller wishes to remove the condition.

Applies to