Share via


BP_COND_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 breakpoint condition style for pending and bound breakpoints.

Syntax

enum enum_BP_COND_STYLE {
    BP_COND_NONE         = 0x0000,
    BP_COND_WHEN_TRUE    = 0x0001,
    BP_COND_WHEN_CHANGED = 0x0002
};
typedef DWORD BP_COND_STYLE;
public enum enum_BP_COND_STYLE {
    BP_COND_NONE         = 0x0000,
    BP_COND_WHEN_TRUE    = 0x0001,
    BP_COND_WHEN_CHANGED = 0x0002
};

Fields

BP_COND_NONE
Fires the breakpoint when the breakpoint's position is reached. No breakpoint condition specified.

BP_COND_WHEN_TRUE
Fires the breakpoint only when the conditional expression associated with the breakpoint evaluates to true.

BP_COND_WHEN_CHANGED
Fires the breakpoint only when the value of the conditional expression associated with the breakpoint has changed from its previous evaluation.

Remarks

Used for the styleCondition member of the BP_CONDITION structure.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also