共用方式為


BP_CONDITION

Describes the conditions under which a breakpoint fires.

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 IDebugBoundBreakpoint2::SetCondition and IDebugPendingBreakpoint2::SetCondition methods.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

BP_REQUEST_INFO

BP_REQUEST_INFO2

IDebugBoundBreakpoint2::SetCondition

IDebugPendingBreakpoint2::SetCondition

IDebugThread2

BP_COND_STYLE