共用方式為


BP_REQUEST_INFO2

 

如需 Visual Studio 2017 的最新文件請參閱 Visual Studio 2017 文件

包含實作中斷點,包括廠商 GUID、 條件約束和追蹤點所需的資訊。

語法

typedef struct _BP_REQUEST_INFO2 {  
   BPREQI_FIELDS   dwFields;  
   GUID            guidLanguage;  
   BP_LOCATION     bpLocation;  
   IDebugProgram2* pProgram;  
   BSTR            bstrProgramName;  
   IDebugThread2*  pThread;  
   BSTR            bstrThreadName;  
   BP_CONDITION    bpCondition;  
   BP_PASSCOUNT    bpPassCount;  
   BP_FLAGS        dwFlags;  
   GUID            guidVendor;  
   BSTR            bstrConstraint;  
   BSTR            bstrTracepoint;  
} BP_REQUEST_INFO2;  
public struct BP_REQUEST_INFO2 {  
   public uint           dwFields;  
   public Guid           guidLanguage;  
   public BP_LOCATION    bpLocation;  
   public IDebugProgram2 pProgram;  
   public string         bstrProgramName;  
   public IDebugThread2  pThread;  
   public string         bstrThreadName;  
   public BP_CONDITION   bpCondition;  
   public BP_PASSCOUNT   bpPassCount;  
   public uint           dwFlags;  
   public Guid           guidVendor;  
   public string         bstrConstraint;  
   public string         bstrTracepoint;  
};  

Members

dwFields
從旗標的組合BPREQI_FIELDS指定哪些欄位都已填寫的列舉型別。

guidLanguage
語言 GUID。

bpLocation
BP_LOCATION指定中斷點的位置類型的結構。

pProgram
IDebugProgram2物件,表示中斷點發生於應用程式。

bstrProgramName
中斷點會發生的應用程式名稱。

pThread
IDebugThread2物件,表示發生中斷點的執行緒。

bstrThreadName
中斷點會發生的執行緒的名稱。

bpCondition
BP_CONDITION該結構描述在其下會引發中斷點的條件。

bpPassCount
BP_PASSCOUNT結構,其中包含中斷點的資訊傳遞計數。

dwFlags
從旗標的組合BP_FLAGS指定要求中斷點的旗標的列舉型別。

guidVendor
廠商的 GUID。 可能是 null 值。

bstrConstraint
中斷點條件約束的名稱。 可能是 null 值。

bstrTracepoint
追蹤點的名稱。 可能是 null 值。

備註

此結構由GetRequestInfo2方法。

需求

標頭︰ msdbg.h

命名空間︰ Microsoft.VisualStudio.Debugger.Interop

組件︰ Microsoft.VisualStudio.Debugger.Interop.dll

另請參閱

結構和等位
GetRequestInfo2
BPREQI_FIELDS
BP_LOCATION
IDebugProgram2
IDebugThread2
BP_CONDITION
BP_PASSCOUNT
BP_FLAGS