trepan/lib/sighandler.py
def handle_stop(self, signame, set_stop):
        """Set whether we stop or not when this signal is caught.
        If 'set_stop' is True your program will stop when this signal
        happens."""
        if set_stop:
            self.sigs[signame].b_stop       = True
            # stop keyword implies print AND nopass
            self.sigs[signame].print_method = self.dbgr.intf[-1].msg
            self.sigs[signame].pass_along   = False
        else:
            self.sigs[signame].b_stop       = False
            pass
        return set_stop
def handle_stop(self, signame, set_stop):
        """Set whether we stop or not when this signal is caught.
        If 'set_stop' is True your program will stop when this signal
        happens."""
        if set_stop:
            self.sigs[signame].b_stop       = True
            # stop keyword implies print AND nopass
            self.sigs[signame].print_method = self.dbgr.intf[-1].msg
            self.sigs[signame].pass_along   = False
        else:
            self.sigs[signame].b_stop       = False
            pass
        return set_stop
def handle_stop ( self , signame , set_stop ) : if set_stop : self . sigs [ signame ] . b_stop = True # stop keyword implies print AND nopass self . sigs [ signame ] . print_method = self . dbgr . intf [ - 1 ] . msg self . sigs [ signame ] . pass_along = False else : self . sigs [ signame ] . b_stop = False pass return set_stop
Set whether we stop or not when this signal is caught.
        If 'set_stop' is True your program will stop when this signal
        happens.
Set whether we stop or not when this signal is caught . If set_stop is True your program will stop when this signal happens .