Ejemplo n.º 1
0
 def __init__(self, stdin, stdout):
     bdb.Bdb.__init__(self)
     JsonCmd.__init__(self, stdin=stdin, stdout=stdout)
     self.stdout = stdout
     self.stdin = stdin
     self.first_time = True
     self.forget()
Ejemplo n.º 2
0
 def __init__(self, stdin, stdout):
     bdb.Bdb.__init__(self)
     JsonCmd.__init__(self, stdin=stdin, stdout=stdout)
     self.stdout = stdout
     self.stdin = stdin
     self.first_time = True
     self.forget()
Ejemplo n.º 3
0
    def __init__(self, python_path='python', debugger_path=None):
        JsonCmd.__init__(self)

        if debugger_path is None:
            debugger_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'debugger.py')
        
        self.layout = DebugLayout()
        self.python_path = python_path
        self.debugger_path = debugger_path
        self.proc = None
        self.output_pane = None
        self.debugger_line = Marker('debug-current', scope='comment')
        self.syntaxerror_line = Marker('debug-syntaxerror', scope='string', icon='bookmark')
Ejemplo n.º 4
0
    def __init__(self, python_path='python', debugger_path=None):
        JsonCmd.__init__(self)

        if debugger_path is None:
            debugger_path = os.path.join(
                os.path.dirname(os.path.abspath(__file__)), 'debugger.py')

        self.layout = DebugLayout()
        self.python_path = python_path
        self.debugger_path = debugger_path
        self.proc = None
        self.output_pane = None
        self.debugger_line = Marker('debug-current', scope='comment')
        self.syntaxerror_line = Marker('debug-syntaxerror',
                                       scope='string',
                                       icon='bookmark')