(self, frame)
return 1
Call every command that was set for the current active breakpoint
        (if there is one).

        Returns True if the normal interaction function must be called,
        False otherwise.
Call every command that was set for the current active breakpoint
        (if there is one).
Call every command that was set for the current active breakpoint ( if there is one ) .
def bp_commands(self, frame):
        """Call every command that was set for the current active breakpoint
        (if there is one).

        Returns True if the normal interaction function must be called,
        False otherwise."""
        # self.currentbp is set in bdb in Bdb.break_here if a breakpoint was hit
        if getattr(self, "currentbp", False) and \
               self.currentbp in self.commands:
            currentbp = self.currentbp
            self.currentbp = 0
            lastcmd_back = self.lastcmd
            self.setup(frame, None)
            for line in self.commands[currentbp]:
                self.onecmd(line)
            self.lastcmd = lastcmd_back
            if not self.commands_silent[currentbp]:
                self.print_stack_entry(self.stack[self.curindex])
            if self.commands_doprompt[currentbp]:
                self._cmdloop()
            self.forget()
            return
        return 1
def bp_commands ( self , frame ) : # self.currentbp is set in bdb in Bdb.break_here if a breakpoint was hit if getattr ( self , "currentbp" , False ) and self . currentbp in self . commands : currentbp = self . currentbp self . currentbp = 0 lastcmd_back = self . lastcmd self . setup ( frame , None ) for line in self . commands [ currentbp ] : self . onecmd ( line ) self . lastcmd = lastcmd_back if not self . commands_silent [ currentbp ] : self . print_stack_entry ( self . stack [ self . curindex ] ) if self . commands_doprompt [ currentbp ] : self . _cmdloop ( ) self . forget ( ) return return 1