共用方式為


BP_PASSCOUNT

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

Describes the count and conditions upon which a conditional breakpoint is fired.

Syntax

typedef struct _BP_PASSCOUNT {
    DWORD              dwPassCount;
    BP_PASSCOUNT_STYLE stylePassCount;
} BP_PASSCOUNT;
public struct BP_PASSCOUNT {
    public uint dwPassCount;
    public uint stylePassCount;
};

Members

dwPassCount
The number of times to pass over the breakpoint before firing it.

stylePassCount
A value from the BP_PASSCOUNT_STYLE enumeration that specifies the style of the breakpoint pass count.

Remarks

This structure is a member of the BP_REQUEST_INFO structure.

This structure is also passed as a parameter to theSetPassCount andSetPassCount methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also