def __init__(self, stdin=None, stdout=None, term_size=None, steal_output=False, **kwargs):
    bdb.Bdb.__init__(self, **kwargs)
    self.ui = DebuggerUI(self, stdin=stdin, stdout=stdout, term_size=term_size)
    self.steal_output = steal_output
    self.setup_state()
    if steal_output:
        raise NotImplementedError('output stealing')
        from io import StringIO
        self.stolen_output = sys.stderr = sys.stdout = StringIO()
        sys.stdin = StringIO('')
    from pudb.settings import load_breakpoints
    for bpoint_descr in load_breakpoints():
        self.set_break(*bpoint_descr)
def __init__(self, stdin=None, stdout=None, term_size=None, steal_output=False, **kwargs):
    bdb.Bdb.__init__(self, **kwargs)
    self.ui = DebuggerUI(self, stdin=stdin, stdout=stdout, term_size=term_size)
    self.steal_output = steal_output
    self.setup_state()
    if steal_output:
        raise NotImplementedError('output stealing')
        from io import StringIO
        self.stolen_output = sys.stderr = sys.stdout = StringIO()
        sys.stdin = StringIO()
    from pudb.settings import load_breakpoints
    for bpoint_descr in load_breakpoints():
        self.set_break(*bpoint_descr)