예제 #1
0
 def do_quit(self, arg):
     """
     quit || exit || q
     Stop and quit the current debugging session
     """
     self.console.writeline('*** Aborting addon ***\n')
     self.console.flush()
     self.console.close()
     WebPdb.active_instance = None
     return Pdb.do_quit(self, arg)
예제 #2
0
 def do_quit(self, arg):
     """
     quit || exit || q
     Stop and quit the current debugging session
     """
     for name, fh in self._backup:
         setattr(sys, name, fh)
     self.console.writeline('*** Aborting program ***\n')
     self.console.flush()
     self.console.close()
     WebPdb.active_instance = None
     return Pdb.do_quit(self, arg)
예제 #3
0
    def new_do_quit(self, arg):

        if hasattr(self, 'old_all_completions'):
            self.shell.Completer.all_completions = self.old_all_completions

        return OldPdb.do_quit(self, arg)
예제 #4
0
 def do_quit(self, arg):
     self.__restore()
     return Pdb.do_quit(self, arg)
예제 #5
0
    def new_do_quit(self, arg):

        if hasattr(self, 'old_all_completions'):
            self.shell.Completer.all_completions=self.old_all_completions

        return OldPdb.do_quit(self, arg)
예제 #6
0
파일: rpdb.py 프로젝트: stone2083/stonelab
 def do_quit(self, arg):
     print 'Rpdb(%s:%s) debugger: stoped.' % self.client_addr
     self.client.close()
     self.client_io.close()
     self.skt.close()
     return Pdb.do_quit(self, arg)
예제 #7
0
파일: pdbx.py 프로젝트: wb670/stonelab
 def do_quit(self, arg):
     print 'Rpdb(%s:%s) debugger: stoped.' % self.io.addr
     self.io.close()
     self.skt.close()
     return Pdb.do_quit(self, arg)