|
2 | 2 | title: "BP_COND_STYLE | Microsoft Docs"
|
3 | 3 | ms.date: "11/04/2016"
|
4 | 4 | ms.topic: "conceptual"
|
5 |
| -f1_keywords: |
| 5 | +f1_keywords: |
6 | 6 | - "BP_COND_STYLE"
|
7 |
| -helpviewer_keywords: |
| 7 | +helpviewer_keywords: |
8 | 8 | - "BP_COND_STYLE enumeration"
|
9 | 9 | ms.assetid: a93b1412-f447-48a1-af9d-38f3dbb3092f
|
10 | 10 | author: "gregvanl"
|
11 | 11 | ms.author: "gregvanl"
|
12 | 12 | manager: jillfra
|
13 |
| -ms.workload: |
| 13 | +ms.workload: |
14 | 14 | - "vssdk"
|
15 | 15 | ---
|
16 | 16 | # BP_COND_STYLE
|
17 |
| -Specifies the breakpoint condition style for pending and bound breakpoints. |
18 |
| - |
19 |
| -## Syntax |
20 |
| - |
21 |
| -```cpp |
22 |
| -enum enum_BP_COND_STYLE { |
23 |
| - BP_COND_NONE = 0x0000, |
24 |
| - BP_COND_WHEN_TRUE = 0x0001, |
25 |
| - BP_COND_WHEN_CHANGED = 0x0002 |
26 |
| -}; |
27 |
| -typedef DWORD BP_COND_STYLE; |
28 |
| -``` |
29 |
| - |
30 |
| -```csharp |
31 |
| -public enum enum_BP_COND_STYLE { |
32 |
| - BP_COND_NONE = 0x0000, |
33 |
| - BP_COND_WHEN_TRUE = 0x0001, |
34 |
| - BP_COND_WHEN_CHANGED = 0x0002 |
35 |
| -}; |
36 |
| -``` |
37 |
| - |
38 |
| -## Members |
39 |
| - BP_COND_NONE |
40 |
| - Fires the breakpoint when the breakpoint's position is reached. No breakpoint condition specified. |
41 |
| - |
42 |
| - BP_COND_WHEN_TRUE |
43 |
| - Fires the breakpoint only when the conditional expression associated with the breakpoint evaluates to `true`. |
44 |
| - |
45 |
| - BP_COND_WHEN_CHANGED |
46 |
| - Fires the breakpoint only when the value of the conditional expression associated with the breakpoint has changed from its previous evaluation. |
47 |
| - |
48 |
| -## Remarks |
49 |
| - Used for the `styleCondition` member of the [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) structure. |
50 |
| - |
51 |
| -## Requirements |
52 |
| - Header: msdbg.h |
53 |
| - |
54 |
| - Namespace: Microsoft.VisualStudio.Debugger.Interop |
55 |
| - |
56 |
| - Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
57 |
| - |
58 |
| -## See Also |
59 |
| - [Enumerations](../../../extensibility/debugger/reference/enumerations-visual-studio-debugging.md) |
60 |
| - [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) |
| 17 | +Specifies the breakpoint condition style for pending and bound breakpoints. |
| 18 | + |
| 19 | +## Syntax |
| 20 | + |
| 21 | +```cpp |
| 22 | +enum enum_BP_COND_STYLE { |
| 23 | + BP_COND_NONE = 0x0000, |
| 24 | + BP_COND_WHEN_TRUE = 0x0001, |
| 25 | + BP_COND_WHEN_CHANGED = 0x0002 |
| 26 | +}; |
| 27 | +typedef DWORD BP_COND_STYLE; |
| 28 | +``` |
| 29 | + |
| 30 | +```csharp |
| 31 | +public enum enum_BP_COND_STYLE { |
| 32 | + BP_COND_NONE = 0x0000, |
| 33 | + BP_COND_WHEN_TRUE = 0x0001, |
| 34 | + BP_COND_WHEN_CHANGED = 0x0002 |
| 35 | +}; |
| 36 | +``` |
| 37 | + |
| 38 | +## Members |
| 39 | +BP_COND_NONE |
| 40 | +Fires the breakpoint when the breakpoint's position is reached. No breakpoint condition specified. |
| 41 | + |
| 42 | +BP_COND_WHEN_TRUE |
| 43 | +Fires the breakpoint only when the conditional expression associated with the breakpoint evaluates to `true`. |
| 44 | + |
| 45 | +BP_COND_WHEN_CHANGED |
| 46 | +Fires the breakpoint only when the value of the conditional expression associated with the breakpoint has changed from its previous evaluation. |
| 47 | + |
| 48 | +## Remarks |
| 49 | +Used for the `styleCondition` member of the [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) structure. |
| 50 | + |
| 51 | +## Requirements |
| 52 | +Header: msdbg.h |
| 53 | + |
| 54 | +Namespace: Microsoft.VisualStudio.Debugger.Interop |
| 55 | + |
| 56 | +Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
| 57 | + |
| 58 | +## See Also |
| 59 | +[Enumerations](../../../extensibility/debugger/reference/enumerations-visual-studio-debugging.md) |
| 60 | +[BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) |
0 commit comments