MCPcopy Create free account
hub / github.com/RustPython/RustPython / defaultFile

Method defaultFile

Lib/pdb.py:701–706  ·  view source on GitHub ↗

Produce a reasonable default.

(self)

Source from the content-addressed store, hash-verified

699
700 # To be overridden in derived debuggers
701 def defaultFile(self):
702 """Produce a reasonable default."""
703 filename = self.curframe.f_code.co_filename
704 if filename == '<string>' and self.mainpyfile:
705 filename = self.mainpyfile
706 return filename
707
708 do_b = do_break
709

Callers 2

do_breakMethod · 0.95
lineinfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected