Esempio n. 1
0
def attach_gdb(space):
    """Run an interp-level gdb (or pdb when untranslated)"""
    from rpython.rlib.debug import attach_gdb
    attach_gdb()
Esempio n. 2
0
 def db(self, code):
     "!db to drop to pdb (untranslated) or gdb (translated)"
     from rpython.rlib.debug import attach_gdb
     attach_gdb()
Esempio n. 3
0
def halt(interp, s_frame, w_rcvr):
    from rpython.rlib.debug import attach_gdb
    print s_frame.print_stack()
    attach_gdb()
Esempio n. 4
0
def attach_gdb(space):
    """Run an interp-level gdb (or pdb when untranslated)"""
    from rpython.rlib.debug import attach_gdb
    attach_gdb()
Esempio n. 5
0
def halt(interp, s_frame, w_rcvr):
    from rpython.rlib.debug import attach_gdb
    print s_frame.print_stack()
    attach_gdb()
Esempio n. 6
0
def func(interp, s_frame, w_rcvr):
    if interp.space.headless.is_set():
        s_frame.exitFromHeadlessExecution("EXIT_TO_DEBUGGER")
    from rpython.rlib.debug import attach_gdb
    attach_gdb()