コード例 #1
0
ファイル: interp_magic.py プロジェクト: xen0n/pypy
def attach_gdb(space):
    """Run an interp-level gdb (or pdb when untranslated)"""
    from rpython.rlib.debug import attach_gdb
    attach_gdb()
コード例 #2
0
ファイル: shell.py プロジェクト: swipswaps/RSqueak
 def db(self, code):
     "!db to drop to pdb (untranslated) or gdb (translated)"
     from rpython.rlib.debug import attach_gdb
     attach_gdb()
コード例 #3
0
ファイル: vm_debugging.py プロジェクト: HPI-SWA-Lab/RSqueak
def halt(interp, s_frame, w_rcvr):
    from rpython.rlib.debug import attach_gdb
    print s_frame.print_stack()
    attach_gdb()
コード例 #4
0
ファイル: interp_magic.py プロジェクト: abhinavthomas/pypy
def attach_gdb(space):
    """Run an interp-level gdb (or pdb when untranslated)"""
    from rpython.rlib.debug import attach_gdb
    attach_gdb()
コード例 #5
0
def halt(interp, s_frame, w_rcvr):
    from rpython.rlib.debug import attach_gdb
    print s_frame.print_stack()
    attach_gdb()
コード例 #6
0
ファイル: control.py プロジェクト: swipswaps/RSqueak
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()