Debugging Tools for Windows

GetOffset

The GetOffset method returns the location that triggers a breakpoint.

HRESULT
  IDebugBreakpoint::GetOffset(
    OUT PULONG64  Offset
    );

Parameters

Offset
The location on the target that triggers the breakpoint.

Return Value

GetOffset might return one of the following values:

S_OK
The method was successful.
E_NOINTERFACE
The breakpoint is deferred and does not currently specify a location in the target's memory address space. To determine the breakpoint location in this case, call GetOffsetExpression.

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

Comments

The GetParameters method also returns the location that triggers a breakpoint.

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