def add_breakpoint(self,breakpoint):
        bp_str = " %-7i | %-11s | " %(breakpoint.id,breakpoint.type)
        if breakpoint.type == 'line':
            bp_str += "%s:%s" %(breakpoint.file,str(breakpoint.line))
        elif breakpoint.type == 'conditional':
            bp_str += "%s:%s when (%s)" \
                %(breakpoint.file,str(breakpoint.line),breakpoint.condition)
        elif breakpoint.type == 'exception':
            bp_str += breakpoint.exception % "Exception: %s"
        elif breakpoint.type == 'call' or \
                breakpoint.type == 'return':
            bp_str += "Function: %s" % breakpoint.function

        self.write(bp_str)
dataset/ETHPy150Open joonty/vdebug/plugin/python/vdebug/ui/vimui.py/BreakpointWindow.add_breakpoint/swapped operands of `%`