

def set_breakpoint(self, filename, lineno, expression=None):
    if ((not filename) or (not lineno) or (not is_connected())):
        return
    fileuri = get_real_path(filename, True)
    S.SESSION.send(dbgp.BREAKPOINT_SET, t='line', f=fileuri, n=lineno, expression=expression)
    response = S.SESSION.read()
    breakpoint_id = response.get(dbgp.ATTRIBUTE_BREAKPOINT_ID)
    if breakpoint_id:
        S.BREAKPOINT[filename][lineno]['id'] = breakpoint_id

dataset/ETHPy150Open martomo/SublimeTextXdebug/xdebug/session.py SocketHandler.set_breakpoint/original