共用方式為


BP_LOCATION_CODE_ADDRESS

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 location of a breakpoint at an address in code.

Syntax

typedef struct _BP_LOCATION_CODE_ADDRESS {
    BSTR bstrContext;
    BSTR bstrModuleUrl;
    BSTR bstrFunction;
    BSTR bstrAddress;
} BP_LOCATION_CODE_ADDRESS;

Members

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

bstrModuleUrl
The URL of the module that contains the breakpoint.

bstrFunction
The name of the function that contains the breakpoint.

bstrAddress
The address of the breakpoint, which is parsed by an expression evaluator to bind it to an IDebugAddress object.

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