共用方式為


IDebugBreakpointRequest2

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

This interface represents the information necessary to create and bind any type of breakpoint.

Syntax

IDebugBreakpointRequest2 : IUnknown

Notes for Implementers

The session debug manager (SDM) typically implements this interface.

Notes for Callers

The debug engine (DE) receives this interface through a call to CreatePendingBreakpoint in order to create a pending breakpoint. A call to GetBreakpointRequest can retrieve this interface from the DE.

Methods in Vtable Order

The following table shows the methods of IDebugBreakpointRequest2.

Method Description
GetLocationType Gets the breakpoint location type of this breakpoint request.
GetRequestInfo Gets the breakpoint request information that describes this breakpoint request.

Remarks

After the program being debugged has been loaded, a call to Bind binds a pending breakpoint to the requested location in the program.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also