BP_CONDITION

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 conditions under which a breakpoint fires.

Syntax

typedef struct _BP_CONDITION {
    IDebugThread2* pThread;
    BP_COND_STYLE  styleCondition;
    BSTR           bstrContext;
    BSTR           bstrCondition;
    UINT           nRadix;
} BP_CONDITION;
public struct BP_CONDITION {
    public IDebugThread2 pThread;
    public uint          styleCondition;
    public string        bstrContext;
    public string        bstrCondition;
    public uint          nRadix;
};

Members

pThread
The IDebugThread2 object that represents the active thread for the application that contains the breakpoint.

styleCondition
A value from the BP_COND_STYLE enumeration describing the style of this breakpoint condition.

bstrContext
The location of the breakpoint.

bstrCondition
The firing condition of the breakpoint.

nRadix
Radix to be used in evaluating any numerical information.

Remarks

This structure is a member of the BP_REQUEST_INFO and BP_REQUEST_INFO2 structures.

This structure is also passed as a parameter to the SetCondition and SetCondition methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also