ll | longlist List the whole source code for the current function or frame.
(self, arg)
| 2212 | do_l = do_list |
| 2213 | |
| 2214 | def do_longlist(self, arg): |
| 2215 | """ll | longlist |
| 2216 | |
| 2217 | List the whole source code for the current function or frame. |
| 2218 | """ |
| 2219 | if arg: |
| 2220 | self._print_invalid_arg(arg) |
| 2221 | return |
| 2222 | filename = self.curframe.f_code.co_filename |
| 2223 | breaklist = self.get_file_breaks(filename) |
| 2224 | try: |
| 2225 | lines, lineno = self._getsourcelines(self.curframe) |
| 2226 | except OSError as err: |
| 2227 | self.error(err) |
| 2228 | return |
| 2229 | self._print_lines(lines, lineno, breaklist, self.curframe) |
| 2230 | self._validate_file_mtime() |
| 2231 | do_ll = do_longlist |
| 2232 | |
| 2233 | def do_source(self, arg): |
nothing calls this directly
no test coverage detected