Deletehardwarebreakpoint

OllyDbg Plugin API

Deletehardwarebreakpoint

80x86 processors support up to 4 hardware breakpoints. This function removes hardware breakpoint with specified index previously set by OllyDbg. Returns 0 on success and -1 on error. OllyDbg may use hardware breakpoints to bypass actual command, so use this function with care! Function Deletehardwarebreakbyaddr is easier to use.

Note that hardware breakpoints are not supported by Windows 95 and Windows 98. To assure that you can use this function, call Plugingetvalue(VAL_HARDBP).

int Deletehardwarebreakpoint(int index);

Parameters:

index - index of hardware breakpoint to delete (0..3).

See also: Sethardwarebreakpoint, Hardbreakpoints, Deletehardwarebreakbyaddr