Debugging Tools for Windows

GetType

The GetType method returns the type of the breakpoint and the type of the processor that a breakpoint is set for.

HRESULT
  IDebugBreakpoint::GetType(
    OUT PULONG  BreakType,
    OUT PULONG  ProcType
    );

Parameters

BreakType
The type of the breakpoint. The type can be one of the following values.
Value Description
DEBUG_BREAKPOINT_CODE Software breakpoint
DEBUG_BREAKPOINT_DATA Processor breakpoint

ProcType
The type of the processor that the breakpoint is set for.

Return Value

GetType 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

If changes are made to the breakpoint, the processor type might change.

The GetParameters method also returns the information that is returned in BreakType and ProcType.

For more information about breakpoint types, see Breakpoints.

Requirements

Versions: Available in all versions of IDebugBreakpoint.

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

Build machine: CAPEBUILD