Print lines of code from the current stack frame. Shows more lines than 'list' does.
(self, arg)
| 570 | return inspect.getblock(lines[lineno:]), lineno+1 |
| 571 | |
| 572 | def do_longlist(self, arg): |
| 573 | """Print lines of code from the current stack frame. |
| 574 | |
| 575 | Shows more lines than 'list' does. |
| 576 | """ |
| 577 | self.lastcmd = 'longlist' |
| 578 | try: |
| 579 | lines, lineno = self.getsourcelines(self.curframe) |
| 580 | except OSError as err: |
| 581 | self.error(err) |
| 582 | return |
| 583 | last = lineno + len(lines) |
| 584 | self.print_list_lines(self.curframe.f_code.co_filename, lineno, last) |
| 585 | do_ll = do_longlist |
| 586 | |
| 587 | def do_debug(self, arg): |
nothing calls this directly
no test coverage detected