Compartir a través de


BP_LOCATION_DATA_STRING

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

Used for setting data breakpoints that are based on a string that the user can enter from the integrated development environment (IDE).

Syntax

typedef struct _BP_LOCATION_DATA_STRING {
    IDebugThread2* pThread;
    BSTR           bstrContext;
    BSTR           bstrDataExpr;
    DWORD          dwNumElements;
} BP_LOCATION_DATA_STRING;

Members

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

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

bstrDataExpr
The data string the user enters to set the breakpoint.

dwNumElements
The number of elements in the data string in which the breakpoint occurs.

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