MCPcopy Index your code
hub / github.com/python/cpython / get_break

Method get_break

Lib/bdb.py:788–792  ·  view source on GitHub ↗

Return True if there is a breakpoint for filename:lineno.

(self, filename, lineno)

Source from the content-addressed store, hash-verified

786 return bp
787
788 def get_break(self, filename, lineno):
789 """Return True if there is a breakpoint for filename:lineno."""
790 filename = self.canonic(filename)
791 return filename in self.breaks and \
792 lineno in self.breaks[filename]
793
794 def get_breaks(self, filename, lineno):
795 """Return all breakpoints for filename:lineno.

Callers 1

dispatch_lineMethod · 0.95

Calls 1

canonicMethod · 0.95

Tested by

no test coverage detected