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

Method do_longlist

tools/python-3.11.9-amd64/Lib/pdb.py:1341–1352  ·  view source on GitHub ↗

longlist | ll List the whole source code for the current function or frame.

(self, arg)

Source from the content-addressed store, hash-verified

1339 do_l = do_list
1340
1341 def do_longlist(self, arg):
1342 """longlist | ll
1343 List the whole source code for the current function or frame.
1344 """
1345 filename = self.curframe.f_code.co_filename
1346 breaklist = self.get_file_breaks(filename)
1347 try:
1348 lines, lineno = self._getsourcelines(self.curframe)
1349 except OSError as err:
1350 self.error(err)
1351 return
1352 self._print_lines(lines, lineno, breaklist, self.curframe)
1353 do_ll = do_longlist
1354
1355 def do_source(self, arg):

Callers

nothing calls this directly

Calls 4

_getsourcelinesMethod · 0.95
errorMethod · 0.95
_print_linesMethod · 0.95
get_file_breaksMethod · 0.80

Tested by

no test coverage detected