共用方式為


BP_LOCATION_CODE_FUNC_OFFSET

Describes the offset location of a breakpoint in a function in code.

typedef struct _BP_LOCATION_CODE_FUNC_OFFSET { 
   BSTR                     bstrContext;
   IDebugFunctionPosition2* pFuncPos;
} BP_LOCATION_CODE_FUNC_OFFSET;

Members

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

  • pFuncPos
    The IDebugFunctionPosition2 object that describes the name of the function and the relative position from the beginning of the function.

Remarks

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

The pFuncPos member indicates where to set the function breakpoint.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

BP_LOCATION

IDebugFunctionPosition2