def __call__(self): filename = self.request.get('filename', None) line = self.request.get('line', None) condition = self.request.get('condition', None) if condition == "None": condition = None if filename and line: debug.addBreakpoint(filename, line, condition=condition) return ""
def add_breakpoint(self, filename, line, condition=None, temporary = 0): debug.addBreakpoint(filename=filename, line=line, condition=condition, temporary=temporary)