def set_trace(*args, **kwargs):
    if not args and 'DEFAULT_IRCPDB_URI' in os.environ:
        args = (
            os.environ['DEFAULT_IRCPDB_URI'],
        )
    debugger = Ircpdb(*args, **kwargs)
    try:
        irc_feeder = Thread(
            target=debugger.bot.process_forever,
            args=(debugger.b_B_pipe, debugger.b_A_pipe, ),
        )
        irc_feeder.daemon = True
        irc_feeder.start()

        debugger.set_trace(sys._getframe().f_back)
    except Exception:
        debugger.shutdown()
        traceback.print_exc()
Split text into $-separated list.
dataset/ETHPy150Open coddingtonbear/ircpdb/ircpdb/debugger.py/set_trace--crossover with--dataset/ETHPy150Open twisted/ldaptor/ldaptor/schema.py/ASN1ParserThingie._to_list