(num)
return False
Returns gdb.Breakpoint() object by gdb.Breakpoint().num.
Returns gdb.Breakpoint() object by gdb.Breakpoint().num.
Returns gdb . Breakpoint () object by gdb . Breakpoint () . num .
def getBreakpoint(num):
    """
    Returns gdb.Breakpoint() object by gdb.Breakpoint().num.
    """

    num = int(num)

    for bp in gdb.breakpoints():
        if bp.number == num:
            return bp

    return False
def getBreakpoint ( num ) : num = int ( num ) for bp in gdb . breakpoints ( ) : if bp . number == num : return bp return False