Expand Minimize

IDebugControl::GetBreakpointByIndex method

The GetBreakpointByIndex method returns the breakpoint located at the specified index.

Syntax


HRESULT GetBreakpointByIndex(
  [in]   ULONG Index,
  [out]  PDEBUG_BREAKPOINT *Bp
);

Parameters

Index [in]

Specifies the zero-based index of the breakpoint to return. This is specific to the current process. The value of Index should be between zero and the total number of breakpoints minus one. The total number of breakpoints can be determined by calling GetNumberBreakpoints.

Bp [out]

Receives the returned breakpoint.

Return value

This method can also return other error values. See Return Values for more details.

Return codeDescription
S_OK

The method was successful.

E_NOINTERFACE

No breakpoint was found with the given index, or the breakpoint with the given index is private.

 

Remarks

The index and returned breakpoint are specific to the current process. The same index will return a different breakpoint if the current process is changed.

Requirements

Header

Dbgeng.h (include Dbgeng.h)

See also

IDebugControl
IDebugControl2
IDebugControl3
GetNumberBreakpoints

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft