longlist | ll List the whole source code for the current function or frame.
(self, arg)
| 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): |
nothing calls this directly
no test coverage detected