|
2 | 2 | title: "BP_REQUEST_INFO2 | Microsoft Docs"
|
3 | 3 | ms.date: "11/04/2016"
|
4 | 4 | ms.topic: "conceptual"
|
5 |
| -f1_keywords: |
| 5 | +f1_keywords: |
6 | 6 | - "BP_REQUEST_INFO2"
|
7 |
| -helpviewer_keywords: |
| 7 | +helpviewer_keywords: |
8 | 8 | - "BP_REQUEST_INFO2 structure"
|
9 | 9 | ms.assetid: 008c87f7-a76e-43d3-8904-11b225d6a9a5
|
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_REQUEST_INFO2
|
17 |
| -Contains the information required to implement a breakpoint, including vendor GUID, constraint and tracepoint. |
18 |
| - |
19 |
| -## Syntax |
20 |
| - |
21 |
| -```cpp |
22 |
| -typedef struct _BP_REQUEST_INFO2 { |
23 |
| - BPREQI_FIELDS dwFields; |
24 |
| - GUID guidLanguage; |
25 |
| - BP_LOCATION bpLocation; |
26 |
| - IDebugProgram2* pProgram; |
27 |
| - BSTR bstrProgramName; |
28 |
| - IDebugThread2* pThread; |
29 |
| - BSTR bstrThreadName; |
30 |
| - BP_CONDITION bpCondition; |
31 |
| - BP_PASSCOUNT bpPassCount; |
32 |
| - BP_FLAGS dwFlags; |
33 |
| - GUID guidVendor; |
34 |
| - BSTR bstrConstraint; |
35 |
| - BSTR bstrTracepoint; |
36 |
| -} BP_REQUEST_INFO2; |
37 |
| -``` |
38 |
| - |
39 |
| -```csharp |
40 |
| -public struct BP_REQUEST_INFO2 { |
41 |
| - public uint dwFields; |
42 |
| - public Guid guidLanguage; |
43 |
| - public BP_LOCATION bpLocation; |
44 |
| - public IDebugProgram2 pProgram; |
45 |
| - public string bstrProgramName; |
46 |
| - public IDebugThread2 pThread; |
47 |
| - public string bstrThreadName; |
48 |
| - public BP_CONDITION bpCondition; |
49 |
| - public BP_PASSCOUNT bpPassCount; |
50 |
| - public uint dwFlags; |
51 |
| - public Guid guidVendor; |
52 |
| - public string bstrConstraint; |
53 |
| - public string bstrTracepoint; |
54 |
| -}; |
55 |
| -``` |
56 |
| - |
57 |
| -## Members |
58 |
| - `dwFields` |
59 |
| - A combination of flags from the [BPREQI_FIELDS](../../../extensibility/debugger/reference/bpreqi-fields.md) enumeration that specifies which fields are filled out. |
60 |
| - |
61 |
| - `guidLanguage` |
62 |
| - The language GUID. |
63 |
| - |
64 |
| - `bpLocation` |
65 |
| - The [BP_LOCATION](../../../extensibility/debugger/reference/bp-location.md) structure that specifies the type of the breakpoint location. |
66 |
| - |
67 |
| - `pProgram` |
68 |
| - The [IDebugProgram2](../../../extensibility/debugger/reference/idebugprogram2.md) object that represents the application in which the breakpoint occurs. |
69 |
| - |
70 |
| - `bstrProgramName` |
71 |
| - The name of the application in which the breakpoint occurs. |
72 |
| - |
73 |
| - `pThread` |
74 |
| - The [IDebugThread2](../../../extensibility/debugger/reference/idebugthread2.md) object that represents the thread in which the breakpoint occurs. |
75 |
| - |
76 |
| - `bstrThreadName` |
77 |
| - The name of the thread in which the breakpoint occurs. |
78 |
| - |
79 |
| - `bpCondition` |
80 |
| - The [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) structure that describes the conditions under which the breakpoint will fire. |
81 |
| - |
82 |
| - `bpPassCount` |
83 |
| - The [BP_PASSCOUNT](../../../extensibility/debugger/reference/bp-passcount.md) structure that contains the pass count information of the breakpoint. |
84 |
| - |
85 |
| - `dwFlags` |
86 |
| - A combination of flags from the [BP_FLAGS](../../../extensibility/debugger/reference/bp-flags.md) enumeration that specifies the flags for the requested breakpoint. |
87 |
| - |
88 |
| - `guidVendor` |
89 |
| - GUID of vendor. May be a null value. |
90 |
| - |
91 |
| - `bstrConstraint` |
92 |
| - Name of breakpoint constraint. May be a null value. |
93 |
| - |
94 |
| - `bstrTracepoint` |
95 |
| - Name of trace point. May be a null value. |
96 |
| - |
97 |
| -## Remarks |
98 |
| - This structure is returned by the [GetRequestInfo2](../../../extensibility/debugger/reference/idebugbreakpointrequest3-getrequestinfo2.md) method. |
99 |
| - |
100 |
| -## Requirements |
101 |
| - Header: msdbg.h |
102 |
| - |
103 |
| - Namespace: Microsoft.VisualStudio.Debugger.Interop |
104 |
| - |
105 |
| - Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
106 |
| - |
107 |
| -## See Also |
108 |
| - [Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md) |
109 |
| - [GetRequestInfo2](../../../extensibility/debugger/reference/idebugbreakpointrequest3-getrequestinfo2.md) |
110 |
| - [BPREQI_FIELDS](../../../extensibility/debugger/reference/bpreqi-fields.md) |
111 |
| - [BP_LOCATION](../../../extensibility/debugger/reference/bp-location.md) |
112 |
| - [IDebugProgram2](../../../extensibility/debugger/reference/idebugprogram2.md) |
113 |
| - [IDebugThread2](../../../extensibility/debugger/reference/idebugthread2.md) |
114 |
| - [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) |
115 |
| - [BP_PASSCOUNT](../../../extensibility/debugger/reference/bp-passcount.md) |
116 |
| - [BP_FLAGS](../../../extensibility/debugger/reference/bp-flags.md) |
| 17 | +Contains the information required to implement a breakpoint, including vendor GUID, constraint and tracepoint. |
| 18 | + |
| 19 | +## Syntax |
| 20 | + |
| 21 | +```cpp |
| 22 | +typedef struct _BP_REQUEST_INFO2 { |
| 23 | + BPREQI_FIELDS dwFields; |
| 24 | + GUID guidLanguage; |
| 25 | + BP_LOCATION bpLocation; |
| 26 | + IDebugProgram2* pProgram; |
| 27 | + BSTR bstrProgramName; |
| 28 | + IDebugThread2* pThread; |
| 29 | + BSTR bstrThreadName; |
| 30 | + BP_CONDITION bpCondition; |
| 31 | + BP_PASSCOUNT bpPassCount; |
| 32 | + BP_FLAGS dwFlags; |
| 33 | + GUID guidVendor; |
| 34 | + BSTR bstrConstraint; |
| 35 | + BSTR bstrTracepoint; |
| 36 | +} BP_REQUEST_INFO2; |
| 37 | +``` |
| 38 | +
|
| 39 | +```csharp |
| 40 | +public struct BP_REQUEST_INFO2 { |
| 41 | + public uint dwFields; |
| 42 | + public Guid guidLanguage; |
| 43 | + public BP_LOCATION bpLocation; |
| 44 | + public IDebugProgram2 pProgram; |
| 45 | + public string bstrProgramName; |
| 46 | + public IDebugThread2 pThread; |
| 47 | + public string bstrThreadName; |
| 48 | + public BP_CONDITION bpCondition; |
| 49 | + public BP_PASSCOUNT bpPassCount; |
| 50 | + public uint dwFlags; |
| 51 | + public Guid guidVendor; |
| 52 | + public string bstrConstraint; |
| 53 | + public string bstrTracepoint; |
| 54 | +}; |
| 55 | +``` |
| 56 | + |
| 57 | +## Members |
| 58 | +`dwFields` |
| 59 | +A combination of flags from the [BPREQI_FIELDS](../../../extensibility/debugger/reference/bpreqi-fields.md) enumeration that specifies which fields are filled out. |
| 60 | + |
| 61 | +`guidLanguage` |
| 62 | +The language GUID. |
| 63 | + |
| 64 | +`bpLocation` |
| 65 | +The [BP_LOCATION](../../../extensibility/debugger/reference/bp-location.md) structure that specifies the type of the breakpoint location. |
| 66 | + |
| 67 | +`pProgram` |
| 68 | +The [IDebugProgram2](../../../extensibility/debugger/reference/idebugprogram2.md) object that represents the application in which the breakpoint occurs. |
| 69 | + |
| 70 | +`bstrProgramName` |
| 71 | +The name of the application in which the breakpoint occurs. |
| 72 | + |
| 73 | +`pThread` |
| 74 | +The [IDebugThread2](../../../extensibility/debugger/reference/idebugthread2.md) object that represents the thread in which the breakpoint occurs. |
| 75 | + |
| 76 | +`bstrThreadName` |
| 77 | +The name of the thread in which the breakpoint occurs. |
| 78 | + |
| 79 | +`bpCondition` |
| 80 | +The [BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) structure that describes the conditions under which the breakpoint will fire. |
| 81 | + |
| 82 | +`bpPassCount` |
| 83 | +The [BP_PASSCOUNT](../../../extensibility/debugger/reference/bp-passcount.md) structure that contains the pass count information of the breakpoint. |
| 84 | + |
| 85 | +`dwFlags` |
| 86 | +A combination of flags from the [BP_FLAGS](../../../extensibility/debugger/reference/bp-flags.md) enumeration that specifies the flags for the requested breakpoint. |
| 87 | + |
| 88 | +`guidVendor` |
| 89 | +GUID of vendor. May be a null value. |
| 90 | + |
| 91 | +`bstrConstraint` |
| 92 | +Name of breakpoint constraint. May be a null value. |
| 93 | + |
| 94 | +`bstrTracepoint` |
| 95 | +Name of trace point. May be a null value. |
| 96 | + |
| 97 | +## Remarks |
| 98 | +This structure is returned by the [GetRequestInfo2](../../../extensibility/debugger/reference/idebugbreakpointrequest3-getrequestinfo2.md) method. |
| 99 | + |
| 100 | +## Requirements |
| 101 | +Header: msdbg.h |
| 102 | + |
| 103 | +Namespace: Microsoft.VisualStudio.Debugger.Interop |
| 104 | + |
| 105 | +Assembly: Microsoft.VisualStudio.Debugger.Interop.dll |
| 106 | + |
| 107 | +## See Also |
| 108 | +[Structures and Unions](../../../extensibility/debugger/reference/structures-and-unions.md) |
| 109 | +[GetRequestInfo2](../../../extensibility/debugger/reference/idebugbreakpointrequest3-getrequestinfo2.md) |
| 110 | +[BPREQI_FIELDS](../../../extensibility/debugger/reference/bpreqi-fields.md) |
| 111 | +[BP_LOCATION](../../../extensibility/debugger/reference/bp-location.md) |
| 112 | +[IDebugProgram2](../../../extensibility/debugger/reference/idebugprogram2.md) |
| 113 | +[IDebugThread2](../../../extensibility/debugger/reference/idebugthread2.md) |
| 114 | +[BP_CONDITION](../../../extensibility/debugger/reference/bp-condition.md) |
| 115 | +[BP_PASSCOUNT](../../../extensibility/debugger/reference/bp-passcount.md) |
| 116 | +[BP_FLAGS](../../../extensibility/debugger/reference/bp-flags.md) |
0 commit comments