IDebugBreakpoint::GetType method (dbgeng.h)

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

Syntax

HRESULT GetType(
  [out] PULONG BreakType,
  [out] PULONG ProcType
);

Parameters

[out] 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

[out] ProcType

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

Return value

Return code Description
S_OK
The method was successful.
 

This method can also return error values. For more information, see Return Values.

Remarks

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

Requirement Value
Target Platform Desktop
Header dbgeng.h (include Dbgeng.h)