def GetEventTid():
    ev = idaapi.get_debug_event()
    assert ev, "Could not retrieve debug event"
    return ev.tid
event called pressing on OK button.
dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetEventTid--crossover with--dataset/ETHPy150Open dddomodossola/remi/remi/gui.py/FileSelectionDialog.confirm_value