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

Method defaultFile

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

Produce a reasonable default.

(self)

Source from the content-addressed store, hash-verified

756
757 # To be overridden in derived debuggers
758 def defaultFile(self):
759 """Produce a reasonable default."""
760 filename = self.curframe.f_code.co_filename
761 if filename == '<string>' and self.mainpyfile:
762 filename = self.mainpyfile
763 return filename
764
765 do_b = do_break
766

Callers 2

do_breakMethod · 0.95
lineinfoMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected