Debugging Tools for Windows

SetOffset

The SetOffset method sets the location that triggers a breakpoint.

HRESULT
  IDebugBreakpoint::SetOffset(
    IN ULONG64  Offset
    );

Parameters

Offset
The location on the target that triggers the breakpoint.

Return Value

SetOffset might return one of the following values:

S_OK
The method was successful.
E_UNEXPECTED
The breakpoint is deferred.

This method might also return error values. For more information about possible return values, see Return Values.

Comments

For more information about how to use breakpoints, see Using Breakpoints.

Requirements

Versions: Available in all versions of IDebugBreakpoint.

Headers: Defined in Dbgeng.h. Include Dbgeng.h.

Build machine: CAPEBUILD