Debugging Tools for Windows

GetAdder

The GetAdder method returns the client that owns the breakpoint.

HRESULT
  IDebugBreakpoint::GetAdder(
    OUT IDebugClient * *  Adder
    );

Parameters

Adder
An IDebugClient interface pointer to the client object that added the breakpoint.

Return Value

GetAdder might return one of the following values:

S_OK
The method was successful.

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

Comments

The client that owns the breakpoint is the client that created the breakpoint by using the AddBreakpoint method. A breakpoint might not have an owner. If a breakpoint does not have an owner, Adder is set to NULL.

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