(self, frame)
Return True if there is an effective breakpoint for this line.

        Check for line or function breakpoint and if in effect.
        Delete temporary breakpoints if effective() says to.
Return True if there is an effective breakpoint for this line.
Return True if there is an effective breakpoint for this line .
def break_here(self, frame):
        """Return True if there is an effective breakpoint for this line.

        Check for line or function breakpoint and if in effect.
        Delete temporary breakpoints if effective() says to.
        """
        filename = self.canonic(frame.f_code.co_filename)
        if filename not in self.breaks:
            return False
        lineno = frame.f_lineno
        if lineno not in self.breaks[filename]:
            # The line itself has no breakpoint, but maybe the line is the
            # first line of a function with breakpoint set by function name.
            lineno = frame.f_code.co_firstlineno
            if lineno not in self.breaks[filename]:
                return False

        # flag says ok to delete temp. bp
        (bp, flag) = effective(filename, lineno, frame)
        if bp:
            self.currentbp = bp.number
            if (flag and bp.temporary):
                self.do_clear(str(bp.number))
            return True
        else:
            return False
def break_here ( self , frame ) : filename = self . canonic ( frame . f_code . co_filename ) if filename not in self . breaks : return False lineno = frame . f_lineno if lineno not in self . breaks [ filename ] : # The line itself has no breakpoint, but maybe the line is the # first line of a function with breakpoint set by function name. lineno = frame . f_code . co_firstlineno if lineno not in self . breaks [ filename ] : return False # flag says ok to delete temp. bp ( bp , flag ) = effective ( filename , lineno , frame ) if bp : self . currentbp = bp . number if ( flag and bp . temporary ) : self . do_clear ( str ( bp . number ) ) return True else : return False