MCPcopy Index your code
hub / github.com/python/cpython / do_interact

Method do_interact

Lib/pdb.py:3040–3047  ·  view source on GitHub ↗
(self, arg)

Source from the content-addressed store, hash-verified

3038 sys.displayhook = save_displayhook
3039
3040 def do_interact(self, arg):
3041 # Prepare to run 'interact' mode code blocks, and trigger the client
3042 # to start treating all input as Python commands, not PDB ones.
3043 self.message("*pdb interact start*")
3044 self._interact_state = dict(
3045 compiler=codeop.CommandCompiler(),
3046 ns={**self.curframe.f_globals, **self.curframe.f_locals},
3047 )
3048
3049 @typing.override
3050 def _create_recursive_debugger(self):

Callers

nothing calls this directly

Calls 1

messageMethod · 0.95

Tested by

no test coverage detected