Debugging Tools for Windows |
The GetBreakpointByIndex and GetBreakpointByIndex2 methods return the breakpoint located at the specified index.
HRESULT
IDebugControl::GetBreakpointByIndex(
IN ULONG Index,
OUT IDebugBreakpoint * * Bp
);
HRESULT
IDebugControl4::GetBreakpointByIndex2(
IN ULONG Index,
OUT IDebugBreakpoint2 * * Bp
);
This method can also return other error values. See Return Values for more details.
GetBreakpointByIndex is available in all versions of IDebugControl. GetBreakpointByIndex2 is available in IDebugControl4 and later versions.
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.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.