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

Method _cmdloop

tools/python-3.11.9-amd64/Lib/pdb.py:379–389  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

377
378 # General interaction function
379 def _cmdloop(self):
380 while True:
381 try:
382 # keyboard interrupts allow for an easy way to cancel
383 # the current command, so allow them during interactive input
384 self.allow_kbdint = True
385 self.cmdloop()
386 self.allow_kbdint = False
387 break
388 except KeyboardInterrupt:
389 self.message('--KeyboardInterrupt--')
390
391 # Called before loop, handles display expressions
392 def preloop(self):

Callers 2

bp_commandsMethod · 0.95
interactionMethod · 0.95

Calls 2

messageMethod · 0.95
cmdloopMethod · 0.80

Tested by

no test coverage detected