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

Function close_remote_debugger

Lib/idlelib/debugger_r.py:367–377  ·  view source on GitHub ↗

Shut down subprocess debugger and Idle side of debugger RPC link Request that the RPCServer shut down the subprocess debugger and link. Unregister the GUIAdapter, which will cause a GC on the Idle process debugger and RPC link objects. (The second reference to the debugger GUI is d

(rpcclt)

Source from the content-addressed store, hash-verified

365 return gui
366
367def close_remote_debugger(rpcclt):
368 """Shut down subprocess debugger and Idle side of debugger RPC link
369
370 Request that the RPCServer shut down the subprocess debugger and link.
371 Unregister the GUIAdapter, which will cause a GC on the Idle process
372 debugger and RPC link objects. (The second reference to the debugger GUI
373 is deleted in pyshell.close_remote_debugger().)
374
375 """
376 close_subprocess_debugger(rpcclt)
377 rpcclt.unregister(gui_adap_oid)
378
379def close_subprocess_debugger(rpcclt):
380 rpcclt.remotecall("exec", "stop_the_debugger", (idb_adap_oid,), {})

Callers

nothing calls this directly

Calls 2

unregisterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…