def GetBptEA(n):
    bpt = idaapi.bpt_t()

    if idaapi.getn_bpt(n, bpt):
        return bpt.ea
    else:
        return BADADDR
Get breakpoint address
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetBptEA