def addBreakpointAtFunction(self, function): bp = Breakpoint(self) bp.setFunction(function) bp.enable() self.__breakpoints.append(bp) self.__breakpointTable[bp.getId()] = bp return bp.getId()
def addBreakpointAtPosition(self, position): bp = Breakpoint(self) bp.setPosition(position) bp.enable() self.__breakpoints.append(bp) self.__breakpointTable[bp.getId()] = bp return bp.getId()