MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / get_file_breaks

Method get_file_breaks

tools/python-3.11.9-amd64/Lib/bdb.py:510–519  ·  view source on GitHub ↗

Return all lines with breakpoints for filename. If no breakpoints are set, return an empty list.

(self, filename)

Source from the content-addressed store, hash-verified

508 Breakpoint.bplist[filename, lineno] or []
509
510 def get_file_breaks(self, filename):
511 """Return all lines with breakpoints for filename.
512
513 If no breakpoints are set, return an empty list.
514 """
515 filename = self.canonic(filename)
516 if filename in self.breaks:
517 return self.breaks[filename]
518 else:
519 return []
520
521 def get_all_breaks(self):
522 """Return all breakpoints that are set."""

Callers 2

do_listMethod · 0.80
do_longlistMethod · 0.80

Calls 1

canonicMethod · 0.95

Tested by

no test coverage detected