共用方式為


BP_ERROR_RESOLUTION_INFO

Applies to: yesVisual Studio noVisual Studio for Mac

Note

This article applies to Visual Studio 2017. If you're looking for the latest Visual Studio documentation, see Visual Studio documentation. We recommend upgrading to the latest version of Visual Studio. Download it here

Describes the resolution of an error breakpoint, including location, program, and thread.

Syntax

typedef struct _BP_ERROR_RESOLUTION_INFO {
    BPERESI_FIELDS         dwFields;
    BP_RESOLUTION_LOCATION bpResLocation;
    IDebugProgram2*        pProgram;
    IDebugThread2*         pThread;
    BSTR                   bstrMessage;
    BP_ERROR_TYPE          dwType;
} BP_ERROR_RESOLUTION_INFO;
public struct BP_ERROR_RESOLUTION_INFO {
    public uint                   dwFields;
    public BP_RESOLUTION_LOCATION bpResLocation;
    public IDebugProgram2         pProgram;
    public IDebugThread2          pThread;
    public string                 bstrMessage;
    public uint                   dwType;
};

Members

dwFields
A combination of values from the BPERESI_FIELDS enumeration specifying which fields of this structure are filled out.

bpResLocation
The BP_RESOLUTION_LOCATION union, which specifies the breakpoint resolution location.

pProgram
The IDebugProgram2 object that represents the application in which the breakpoint error occurred.

pThread
The IDebugThread2 object that represents the thread on which the application that generated the breakpoint error is running.

bstrMessage
A string containing any warning or error message resulting from this error resolution.

dwType
A value from the BP_ERROR_TYPE enumeration that specifies the breakpoint error type.

Remarks

This structure is returned from the GetResolutionInfo method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also