共用方式為


BP_REQUEST_INFO

Contains the information required to implement a breakpoint.

typedef struct _BP_REQUEST_INFO {
   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;
} BP_REQUEST_INFO;
public struct BP_REQUEST_INFO {
   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;
};

Members

  • dwFields
    A combination of flags from the BPREQI_FIELDS enumeration that specifies which fields are filled out.

  • guidLanguage
    The language GUID.

  • bpLocation
    The BP_LOCATION structure that specifies the type of the breakpoint location.

  • pProgram
    The IDebugProgram2 object that represents the application in which the breakpoint occurs.

  • bstrProgramName
    The name of the application in which the breakpoint occurs.

  • pThread
    The IDebugThread2 object that represents the thread in which the breakpoint occurs.

  • bstrThreadName
    The name of the thread in which the breakpoint occurs.

  • bpCondition
    The BP_CONDITION structure that describes the conditions under which the breakpoint will fire.

  • bpPassCount
    The BP_PASSCOUNT structure that contains the pass count information of the breakpoint.

  • dwFlags
    A combination of flags from the BP_FLAGS enumeration that specifies the flags for the requested breakpoint.

Remarks

This structure is returned by the IDebugBreakpointRequest2::GetRequestInfo method.

If you need to obtain the debug engine vendor GUID, the breakpoint constraint or the tracepoint, see the BP_REQUEST_INFO2 structure.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

IDebugBreakpointRequest2::GetRequestInfo

BPREQI_FIELDS

BP_LOCATION

IDebugProgram2

IDebugThread2

BP_CONDITION

BP_PASSCOUNT

BP_FLAGS

BP_REQUEST_INFO2