共用方式為


BP_LOCATION_CODE_FILE_LINE

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

Contains the data for the location of a breakpoint at a specific line in a code source file.

Syntax

typedef struct _BP_LOCATION_CODE_FILE_LINE {
    BSTR                     bstrContext;
    IDebugDocumentPosition2* pDocPos;
} BP_LOCATION_CODE_FILE_LINE;

Members

bstrContext
The context of the breakpoint, typically a method or function name as seen on a call stack.

pDocPos
The IDebugDocumentPosition2 object that represents the document position of the breakpoint.

Remarks

This structure is a member of the BP_LOCATION structure as part of a union.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also