MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / debuggerInput

Function debuggerInput

python/pythonmonkey/lib/pmdb.py:9–17  ·  view source on GitHub ↗
(prompt: str)

Source from the content-addressed store, hash-verified

7
8
9def debuggerInput(prompt: str):
10 try:
11 return input(prompt) # blocking
12 except KeyboardInterrupt:
13 print("\b\bQuit") # to match the behaviour of gdb
14 return ""
15 except Exception as e:
16 print(e)
17 return ""
18
19
20def enable(debuggerGlobalObject=pm.eval("debuggerGlobal")):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected