Manualbreakpoint

OllyDbg Plugin API

Manualbreakpoint

Facilitates manual INT3 breakpoint setting, either from menu or keyboard shortcut. Supports standard OllyDbg "look and feel". Returns 0 if some action took place and -1 otherwise. Following combinations are supported:

key shiftkey Action
VK_F2 0 Toggle unconditional breakpoint
VK_F2 Pressed (not 0) Set conditional breakpoint
VK_F4 Pressed (not 0) Set logging breakpoint

int Manualbreakpoint(ulong addr,int key,int shiftkey,ulong nametype,int font);

Parameters:

addr - memory address in the address space of debugged application where INT3 breakpoint must be set;

key - VK_F2 or VK_F4 (see above);

shiftkey - state of shift key (see above);

nametype - set to 0 when calling Manualbreakpoint from plugin;

font - index of predefined font to be used in invoked dialogs. If not sure, use FIXEDFONT.