BP_PASSCOUNT_STYLE

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Specifies the condition associated with the breakpoint pass count that causes the breakpoint to fire.

Syntax

enum enum_BP_PASSCOUNT_STYLE {
    BP_PASSCOUNT_NONE             = 0x0000,
    BP_PASSCOUNT_EQUAL            = 0x0001,
    BP_PASSCOUNT_EQUAL_OR_GREATER = 0x0002,
    BP_PASSCOUNT_MOD              = 0x0003
};
typedef DWORD BP_PASSCOUNT_STYLE;
public enum enum_BP_PASSCOUNT_STYLE {
    BP_PASSCOUNT_NONE             = 0x0000,
    BP_PASSCOUNT_EQUAL            = 0x0001,
    BP_PASSCOUNT_EQUAL_OR_GREATER = 0x0002,
    BP_PASSCOUNT_MOD              = 0x0003
};

Fields

BP_PASSCOUNT_NONE
Specifies no breakpoint pass count style.

BP_PASSCOUNT_EQUAL
Sets the breakpoint pass count style to equal. The breakpoint fires when the number of times the breakpoint is hit equals the pass count.

BP_PASSCOUNT_EQUAL_OR_GREATER
Sets the breakpoint pass count style to equal or greater. The breakpoint fires when the number of times the breakpoint is hit is equal to or greater than the pass count.

BP_PASSCOUNT_MOD
Specifies a modulo pass count. For example, if the pass count is of the type BP_PASSCOUNT_MOD and the pass count value is 4, the breakpoint fires every time the hit count is a multiple of 4.

Remarks

Used for the stylePassCount member of the BP_PASSCOUNT structure that is in turn a member of the BP_REQUEST_INFO and BP_REQUEST_INFO2 structures.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also