library/src/blockclass/BP-BlockClass.cc
// sets a breakpoint in a running process
sets a breakpoint in a running process
sets a breakpoint in a running process
int Block::DbgAddBreakpoint(void * addr, int bpIdentifier)
{
	if(!dbgHandle)
		return ERR_FAILURE;
	if (CreateAddBreakpoint(dbgHandle, addr, bpIdentifier) == ERR_FAILURE)
		return ERR_FAILURE;
	return ERR_SUCCESS;
}
int Block :: DbgAddBreakpoint ( void * addr , int bpIdentifier ) { if ( ! dbgHandle ) return ERR_FAILURE ; if ( CreateAddBreakpoint ( dbgHandle , addr , bpIdentifier ) == ERR_FAILURE ) return ERR_FAILURE ; return ERR_SUCCESS ; }
sets a breakpoint in a running process
sets a breakpoint in a running process
// ensure we have a debug handle // add breakpoint // return indicating success