共用方式為


BP_COND_STYLE

Specifies the breakpoint condition style for pending and bound breakpoints.

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
};

Members

  • 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

Reference

Enumerations (Visual Studio Debugging)

BP_CONDITION